Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable more compiler warnings #1578
All of these are fixed and trivial to fix. Tested with all possible combinations of
I could also push a subset if anyone feels that some of these warnings make no sense.
Previously, that warning was only implicitly active in C90 mode. Enable it unconditionally as already done for GCC.
Enable -Wdouble-promotion for both GCC and clang. It warns on implicit promotion from float to double.