This doesn't quite go all the way, in that leaves unused function warnings disabled for the moment.
Clean up compiler warnings and enable them #102
pull gmaxwell wants to merge 10 commits into bitcoin-core:master from gmaxwell:warning_fixups changing 29 files +369 −337-
gmaxwell commented at 12:10 AM on November 13, 2014: contributor
-
Reorder static to comply with C99 and switch to the inline macro. a4a43d7543
-
Correct function prototypes and avoid unused parameter warnings. 2cad067a36
-
Remove a VERIFY_CHECK for >=0ness on an unsigned type. e28a8b86c7
-
Avoid a shadowed variable. e9e0e21a6f
-
Fix varrious signed/unsigned comparisons. 65a14abb48
-
Avoid unsigned comparison in scalar arith. 850562e3f1
-
Signed/unsigned comparisons in tests. 3276e7d4e2
-
Avoid forward static decl of undefined functions, also fix a paren warning in the tests. f0709ac57e
-
field_gmp's negate doesn't need to use the magnitude argument. 861f9a59cc
-
a099073a7e
Enable warnings.
Wno-unused-function is used for the moment because of the checking functions which are currently only used by VERIFY but are not (yet?) ifdefed out in normal builds.
-
sipa commented at 11:16 AM on November 13, 2014: contributor
utACK
- sipa merged this on Nov 13, 2014
- sipa closed this on Nov 13, 2014
- sipa referenced this in commit 027eb9c610 on Nov 13, 2014