-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update cppnetlib subproject #242
Comments
Which compiler is printing those warnings. I cannot see any warning with gcc 5.4 |
My compiler is g++ 5.4, the default bundled with Ubuntu Xenial LTS. I use this sequence of commands to detect uninitialized or unused variables: rm -rf build ; mkdir build && cd build
cmake .. -DCLONE_SUBPROJECTS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall -Werror=shadow -Werror=unused -Werror=uninitialized"
make -j 6 VERBOSE=1 The output I got is this:
The error here is not important, but it prevents the usage of my script to search unused variables in projects that use ZeroEQ as dependency. The current version of cppnetlib does not contains that unused variables. |
Currently, you have
cppnetlib @ cef6472
as a subproject of ZeroEQ.That version of cppnetlib contains this
libs/network/src/uri/schemes.cpp
file:https://github.com/cpp-netlib/cpp-netlib/blob/cef6472065a3d964b765681f5988e28866c26d74/libs/network/src/uri/schemes.cpp
But that file has two "defined but not used" warnings at lines 47 and 48, that prevent ZeroEQ to be compiled with the option
-Werror=unused-variable
, or any project that uses ZeroEQ as dependency.I know that you are not responsible for this warnings, but could you please consider to upgrade the version of cppnetlib you are using?
The text was updated successfully, but these errors were encountered: