diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-10-17 12:17:59 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-10-17 12:17:59 +0200 |
commit | e919cf6e9bfe1d26cc3ba7a7bcc6958a8cfeeb21 (patch) | |
tree | 13398f0d8e10dd2d61ee6c34aa3b9a6638d08d26 /configure.ac | |
parent | a85c49e98d4430482c25bc2be3e213ff6e96da48 (diff) |
Add -Weffc++ option for GCC to avoid producing crappy code :)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4207ee7..ea059a0 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AS_IF([test "x$native_win32" = "xyes"], [ AS_IF([test x"$GCC" = xyes], [ # Be tough with warnings and produce less careless code CFLAGS="$CFLAGS -Wall -pedantic" - CXXFLAGS="$CXXFLAGS -Wall -pedantic" + CXXFLAGS="$CXXFLAGS -Wall -pedantic -Weffc++" ]) ]) LIBVISIO_CXXFLAGS="$LIBVISIO_CFLAGS" |