This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/6] [C++] Drop -fpermissive hack, enable -Werror

The first 4 patches finally make GDB build cleanly in C++, at least on
x86_64 GNU/Linux and x86_64 mingw.  At this point, I think we should
drop the -fpermissive hack and default to -Werror in C++ mode too,
which is what the last two patches do.

This lets the buildbot catch C++ build regressions promptly -- we
already have a Fedora buildslave building in C++ mode specifically for
that, but it currently misses regressions around pointer casts and
enum conversions exactly due to -fpermissive/-Wno-error.

Other ports still need further C++ conversion work, though the build
failures shouldn't be too many and should be mostly localized to
host/target-specific code.

Pedro Alves (5):
  [C++] remote.c: Avoid enum arithmetic
  [C++] linux-thread-db.c: dladdr cast
  [C++] breakpoint.c: "no memory" software watchpoints and enum casts
  [C++] Drop -fpermissive hack
  [C++] Default to -Werror in C++ mode too

Simon Marchi (1):
  [C++] s390: Fix enum gdb_syscall conversion

 gdb/breakpoint.c           | 49 ++++++++++++++++++++++++++++++++++------------
 gdb/build-with-cxx.m4      |  3 +--
 gdb/configure              | 10 +++-------
 gdb/           |  7 ++-----
 gdb/gdbserver/configure    |  6 ++----
 gdb/gdbserver/ |  3 +--
 gdb/linux-thread-db.c      |  2 +-
 gdb/remote.c               |  2 +-
 gdb/s390-linux-tdep.c      | 41 ++++++++++++++++++++++----------------
 gdb/target.c               | 36 +++++++++++++++++++++++-----------
 gdb/target.h               |  4 ++++
 11 files changed, 100 insertions(+), 63 deletions(-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]