We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Line 30 in CMakelists.txt:
CMakelists.txt
set(C_CXX_FLAGS "-Wall -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -ggdb -fvisibility=hidden")
is causing the library to fail to compile on a recent kernel and gcc version.
Setting to:
set(C_CXX_FLAGS "-Wall -Wformat=2 -Wsign-compare -Wmissing-field-initializers -ggdb -fvisibility=hidden")
i.e. removing -Werror allows for compilation to proceed.
-Werror
The text was updated successfully, but these errors were encountered:
cmake_minimum_required(VERSION 3.0)
project(YourProjectName)
set(CMAKE_CXX_STANDARD 11)
add_executable(your_executable main.cpp)
target_compile_options(your_executable PRIVATE ${C_CXX_FLAGS})
Sorry, something went wrong.
No branches or pull requests
Line 30 in
CMakelists.txt
:set(C_CXX_FLAGS "-Wall -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -ggdb -fvisibility=hidden")
is causing the library to fail to compile on a recent kernel and gcc version.
Setting to:
set(C_CXX_FLAGS "-Wall -Wformat=2 -Wsign-compare -Wmissing-field-initializers -ggdb -fvisibility=hidden")
i.e. removing
-Werror
allows for compilation to proceed.The text was updated successfully, but these errors were encountered: