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/5] Remove a few hurdles of compiling with clang


> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: Simon Marchi <simon.marchi@ericsson.com>
> Date: Sat, 10 Jun 2017 21:58:04 +0200
> 
> It is currently possible to build with clang by jumping through a few hoops and
> compiling without -Werror, but it is not pretty.  There is a _ton_ of warnings.
> clang often gives some good and relevant warnings (e.g. [1]), so it would be
> useful to get the number to a reasonnable level to be able to see those that
> are actually relevant.  I started to work on the lowest hanging fruits and the
> changes that should not be too controversial.
> 
> [1] https://sourceware.org/ml/gdb-patches/2017-06/msg00252.html
> 
> Simon Marchi (5):
>   gdb: Pass -x c++ to the compiler
>   gdb: Use -Werror when checking for (un)supported warning flags
>   gdb: Add -Wno-mismatched-tags
>   linux-low: Remove usage of "register" keyword
>   Add ATTRIBUTE_PRINTF to trace_start_error

Question to Joel and Pedro: Do we really want to go to these length to
accommodate clang?  What's our policy?


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