diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-30 12:54:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-11 10:11:52 -0400 |
commit | 493499a3399f8a8532b4b2a80006c033e8f64c58 (patch) | |
tree | fb1965c627838137ecd4634fba00cbcccd253372 /configure.ac | |
parent | 2ff20c93a5ec753a0c46ca5ecd991b8e2020f7d0 (diff) | |
download | tor-493499a3399f8a8532b4b2a80006c033e8f64c58.tar.gz tor-493499a3399f8a8532b4b2a80006c033e8f64c58.zip |
Add -Wfloat-conversion for GCC >= 4.9
This caught quite a few minor issues in our unit tests and elsewhere
in our code.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f66d798713..dc3a329ad4 100644 --- a/configure.ac +++ b/configure.ac @@ -1768,6 +1768,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [ if test "x$have_gcc49" = "xyes"; then CFLAGS="$CFLAGS -Wdate-time" + CFLAGS="$CFLAGS -Wfloat-conversion" fi if test "x$have_gcc5" = "xyes"; then |