-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
_GNU_SOURCE redefined error building with -Werror #1357
Milestone
Comments
I've not seen that. What system are you compiling on? |
Using GCC 4.9.4 and compiling using our own CMake files on linux x64. It goes away without the -Werror, but ideally we'd keep that. I just tried adding #ifndef around it and that does make the error go away as I expected. |
ralight
added a commit
that referenced
this issue
Jul 25, 2019
Fair enough. I can't reproduce it, but I've added an #ifdef guard anyway. |
vankxr
pushed a commit
to vankxr/mosquitto
that referenced
this issue
Aug 9, 2019
ralight
added a commit
that referenced
this issue
Sep 18, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Anyone else seeing this? If so, can mosquitto add an ifndef check to not redefine it?
The text was updated successfully, but these errors were encountered: