[C++] Drop -fpermissive hack
authorPedro Alves <palves@redhat.com>
Thu, 19 Nov 2015 14:32:54 +0000 (14:32 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 19 Nov 2015 14:32:54 +0000 (14:32 +0000)
Both x86_64 GNU/Linux and x86_64 mingw-w64 build cleanly with
--enable-targets=all.  Let's drop the -fpermissive hack, in order to
let the buildbot catch C++ build regressions for us.

gdb/ChangeLog:
2015-11-19  Pedro Alves  <palves@redhat.com>

* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive.
* configure: Regenerate.

gdb/gdbserver/ChangeLog:
2015-11-19  Pedro Alves  <palves@redhat.com>

* configure: Regenerate.

gdb/ChangeLog
gdb/build-with-cxx.m4
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure

index 5cc06661e63ebf80f839a7ec5a32e9c132e47b03..f136fb70af79e6cae778b822ced32be4fa1fa026 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-19  Pedro Alves  <palves@redhat.com>
+
+       * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive.
+       * configure: Regenerate.
+
 2015-11-19  Pedro Alves  <palves@redhat.com>
 
        * breakpoint.c (software_watchpoint_add_no_memory_location)
index 8802f4d6ae84c092ed704ae6513b16e041729018..b6284fda2ffd284a0b678dd93dafd8bb21f31082 100644 (file)
@@ -32,8 +32,7 @@ AC_DEFUN([GDB_AC_BUILD_WITH_CXX],
     [enable_build_with_cxx=no])
 
   if test "$enable_build_with_cxx" = "yes"; then
-    # We're using -fpermissive as shortcut for now.
-    COMPILER='$(CXX) -fpermissive'
+    COMPILER='$(CXX)'
    else
     COMPILER='$(CC)'
   fi
index fd7ea1c98c654e317947caddbe77a4cb054801fe..8ef3cf26a7aa11a95e801802dc97375a09385f50 100755 (executable)
@@ -5015,8 +5015,7 @@ fi
 
 
   if test "$enable_build_with_cxx" = "yes"; then
-    # We're using -fpermissive as shortcut for now.
-    COMPILER='$(CXX) -fpermissive'
+    COMPILER='$(CXX)'
    else
     COMPILER='$(CC)'
   fi
index 86e1b64c958e99d5fcc70b89c8a9e23113b5cff8..012ea5e254f188c54c771ca217e0a39a0c75d781 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-19  Pedro Alves  <palves@redhat.com>
+
+       * configure: Regenerate.
+
 2015-11-19  Yao Qi  <yao.qi@linaro.org>
 
        * linux-aarch64-low.c (emit_data_processing_reg): Change opcode
index 409f42bf388be752175a3f1d6b215afc7ca8c113..4b9aa9553b96b51efb7533f69f9a54ec00233b1d 100755 (executable)
@@ -4827,8 +4827,7 @@ fi
 
 
   if test "$enable_build_with_cxx" = "yes"; then
-    # We're using -fpermissive as shortcut for now.
-    COMPILER='$(CXX) -fpermissive'
+    COMPILER='$(CXX)'
    else
     COMPILER='$(CC)'
   fi