This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 5/6] [C++] Drop -fpermissive hack
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Wed, 18 Nov 2015 16:40:01 +0000
- Subject: [PATCH 5/6] [C++] Drop -fpermissive hack
- Authentication-results: sourceware.org; auth=none
- References: <1447864802-24016-1-git-send-email-palves at redhat dot com>
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-18 Pedro Alves <palves@redhat.com>
* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Remove -fpermissive.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
2015-11-18 Pedro Alves <palves@redhat.com>
* configure: Regenerate.
---
gdb/build-with-cxx.m4 | 3 +--
gdb/configure | 3 +--
gdb/gdbserver/configure | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4
index 8802f4d..b6284fd 100644
--- a/gdb/build-with-cxx.m4
+++ b/gdb/build-with-cxx.m4
@@ -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
diff --git a/gdb/configure b/gdb/configure
index fd7ea1c..8ef3cf2 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -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
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 409f42b..4b9aa95 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -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
--
1.9.3