diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-23 14:11:26 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-23 14:11:26 +0000 |
commit | 37de293f01e1dfcac003f68193768e9b793d00b2 (patch) | |
tree | 8980102c035aacc000617a52bec74079742b4c14 /configure.ac | |
parent | 9dffa553039b9ce41866ec97fe9248b219f9c7bd (diff) | |
download | mpfr-37de293f01e1dfcac003f68193768e9b793d00b2.tar.gz |
[configure.ac] By default (i.e. if CFLAGS is not already set), if
the compiler is GCC not in C++ mode, add the -Wc++-compat warning
since we expect the code to compile with a C++ compiler.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13406 280ebfd0-de03-0410-8827-d642c229c3f4
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 9eaaaa3ea..d9c4907d7 100644 --- a/configure.ac +++ b/configure.ac @@ -491,7 +491,7 @@ error #endif ]], [[]])],[ AC_MSG_RESULT(no) - CFLAGS="-Wmissing-prototypes $CFLAGS" + CFLAGS="-Wmissing-prototypes -Wc++-compat $CFLAGS" ],[ AC_MSG_RESULT(yes) CFLAGS="-Wmissing-declarations -Wno-sign-compare $CFLAGS" |