[C++] Default to -Werror in C++ mode too
[deliverable/binutils-gdb.git] / gdb / configure
index 8ef3cf26a7aa11a95e801802dc97375a09385f50..249a39975b027e6fad0f550282e8df2a3aa4ddb9 100755 (executable)
@@ -14293,11 +14293,8 @@ if test "${enable_werror+set}" = set; then :
 fi
 
 
-# Enable -Werror by default when using gcc in C mode.  Leave it off
-# for C++ until we're warning clean.  Turn it off for releases.
-if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" \
-   && test x"$enable_build_with_cxx" != x"yes" \
-   && $development; then
+# Enable -Werror by default when using gcc.  Turn it off for releases.
+if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" && $development; then
     ERROR_ON_WARNING=yes
 fi
 
This page took 0.030211 seconds and 4 git commands to generate.