This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [C++] Drop -fpermissive hack
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 19 Nov 2015 14:37:47 -0000
- Subject: [binutils-gdb] [C++] Drop -fpermissive hack
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dad44a1fbaa460e5ff80ce203196bc1c1317dc60
commit dad44a1fbaa460e5ff80ce203196bc1c1317dc60
Author: Pedro Alves <palves@redhat.com>
Date: Thu Nov 19 14:32:54 2015 +0000
[C++] Drop -fpermissive hack
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.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/build-with-cxx.m4 | 3 +--
gdb/configure | 3 +--
gdb/gdbserver/ChangeLog | 4 ++++
gdb/gdbserver/configure | 3 +--
5 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5cc0666..f136fb7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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)
(is_no_memory_software_watchpoint): New functions.
(update_watchpoint): Use
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/ChangeLog b/gdb/gdbserver/ChangeLog
index 86e1b64..012ea5e 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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
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