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
1.4.5 build fails on fedora with
"dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]"
Environment: Fedora 25 on x86_64, gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
Build log at https://paste.fedoraproject.org/paste/8zWK0hi8sMwc8xB1zbyzW15M1UNdIGYhyRLivL9gydE=
The text was updated successfully, but these errors were encountered:
or here build.log.txt
Sorry, something went wrong.
Thanks for spotting this. Could you try adding -Wno-error=strict-aliasing to your CFLAGS as a workaround until we fix the code?
-Wno-error=strict-aliasing
adding -Wno-error=strict-aliasing hides the problem
ea44179
This was due to the libev library's use of casts in its header file that don't quite comply with gcc's understanding of strict aliasing.
I've reverted a previous change and it's back to using -fno-strict-aliasing in place of -Wno-strict-aliasing now, which fixes the build for epel6/7.
-fno-strict-aliasing
-Wno-strict-aliasing
No branches or pull requests
1.4.5 build fails on fedora with
"dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]"
Environment: Fedora 25 on x86_64, gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
Build log at https://paste.fedoraproject.org/paste/8zWK0hi8sMwc8xB1zbyzW15M1UNdIGYhyRLivL9gydE=
The text was updated successfully, but these errors were encountered: