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/3] Fix various C++ related clang warnings


On 2016-11-23 15:06, John Baldwin wrote:
These patches fix various new C++ warnings reported by clang 3.8.0.
The last one regarding std::move is a bit surprising I think, but
there's a not-bad answer to a similar issue here:

http://stackoverflow.com/questions/19267408/why-does-stdmove-prevent-rvo

John Baldwin (3):
  Fix mismatched struct vs class tags.
  Add noexcept to custom non-throwing new operators.
  Do not use std::move when assigning an anonymous object to a
    unique_ptr.

Hi John,

When I tried to build gdb and gdbserver on Linux with clang, I got many more warnings/errors (often relevant). I assume you have many more fixups to do to actually get it building on FreeBSD with clang?

Simon


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