This is the mail archive of the gdb-patches@sourceware.org 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]

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


On 18/11/15 16:39, Pedro Alves wrote:
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.

Yeah! Good to see the switch to C++ will happen soon.  Thanks, Pedro
and Simon.


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.

I don't have objections to this patch set, just want to know what is
your plan to commit it.  I'll fix C++ warnings and errors in ARM
and AArch64 code.

--
Yao (éå)


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