-
Notifications
You must be signed in to change notification settings - Fork 90
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
-Werror
causes compile errors
#52
Comments
How did you disable |
nvm it's working now with #50 |
this is still an issue building with both gcc 12.2.1 and clang 14.0.5 |
FYI, append set(CMAKE_C_FLAGS "-O2 -Wno-error=maybe-uninitialized") to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The "build from source" instructions should build in a mode which disables
-Werror
. I just had to go digging through your CMakeLists.txt to disable-Werror
just because my version of gcc is slightly different from the one you happen to use.For reference, here's the warning which causes the build to fail in my case:
But the bug here is that
-Werror
is being used for builds on systems you don't know with compiler versions and library versions you don't know.The text was updated successfully, but these errors were encountered: