-
Notifications
You must be signed in to change notification settings - Fork 71
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
reevaluate disablement of strict aliasing warning in chain_plugin #229
Comments
This does have the potential of being very bad, so I would say this is one the higher priority tasks and we might want to port any changes needed for this fix to 3.1.x. In addition to the one place that was found, we should search for more such places in the code that is ignoring warnings. Compiler warnings are usually there for a reason and ignoring them is almost never the valid answer to the problem. |
find . -type f ! -name 'test' | xargs egrep "#pragma.*ignored" |
…ugin. Also removed pragma to ignore unused-variable from config.hpp. All other changes were to address the removal the ignore unused-variable.
[3.1] Remove #pragma(s) to ignore warnings
[3.1 -> main] Remove #pragma(s) to ignore warnings
leap/plugins/chain_plugin/chain_plugin.cpp
Lines 1709 to 1710 in e401c23
A warning about strict aliasing is probably something that should be tended to, not silenced away.
The text was updated successfully, but these errors were encountered: