Skip to content
Snippets Groups Projects
Commit 769df2ff authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Toolchain: Add more compiler options, add note about -Wfloat-conversion...

Toolchain: Add more compiler options, add note about -Wfloat-conversion warning (available with GCC 4.9). Needs work.
parent 2860492e
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,10 @@ ARCHWARNINGS = -Wall \
-Werror=unused-but-set-variable \
-Werror=unused-variable \
-Werror=double-promotion \
-Werror=reorder
-Werror=reorder \
-Werror=uninitialized \
-Werror=init-self
# -Werror=float-conversion - works, just needs to be phased in with some effort and needs GCC 4.9+
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment