Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilaton on OpenBSD/adJ 7.6 stops with error: unused variable 'os' #15679

Open
vtamara opened this issue Dec 26, 2024 · 0 comments
Open

Compilaton on OpenBSD/adJ 7.6 stops with error: unused variable 'os' #15679

vtamara opened this issue Dec 26, 2024 · 0 comments
Labels

Comments

@vtamara
Copy link

vtamara commented Dec 26, 2024

Description

Trying to compile on OpenBSD the develop branch advances up to 76% but stops with:

[ 76%] Building CXX object test/CMakeFiles/soltest.dir/libsolidity/SMTCheckerTest.cpp.o
/home/vtamara/comp/c++/solidity/test/libsolidity/SMTCheckerTest.cpp:123:26: error: unused variable 'os' [-Werror,-Wunused-variable]
        for (std::string const& os: ignoreOSSetting | ranges::views::split(',') | ranges::to<std::vector<std::string>>())
                                ^
1 error generated.
*** Error 1 in . (test/CMakeFiles/soltest.dir/build.make:1098 'test/CMakeFiles/soltest.dir/libsolidity/SMTCheckerTest.cpp.o': cd /home/vtama...)
*** Error 2 in . (CMakeFiles/Makefile2:785 'test/CMakeFiles/soltest.dir/all': make -s -f test/CMakeFiles/soltest.dir/build.make test/CMakeFi...)
*** Error 2 in /home/vtamara/comp/c++/solidity/build (Makefile:136 'all': make -s -f CMakeFiles/Makefile2 all)

Environment

  • Compiler version: clang version 16.0.6
  • Target EVM version (as per compiler settings):
  • Framework/IDE (e.g. Truffle or Remix):
  • EVM execution environment / backend / blockchain client:
  • Operating system: OpenBSD/adJ 7.6b1

Steps to Reproduce

git clone --recursive https://github.com/ethereum/solidity.git
cd solidity
mkdir build
cd build
cmake ..
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant