public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Remove a few hurdles of compiling with clang
@ 2017-06-10 19:58 Simon Marchi
  2017-06-10 19:58 ` [PATCH 4/5] linux-low: Remove usage of "register" keyword Simon Marchi
                   ` (6 more replies)
  0 siblings, 7 replies; 38+ messages in thread
From: Simon Marchi @ 2017-06-10 19:58 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

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

 gdb/Makefile.in           |  2 +-
 gdb/configure             |  7 ++++---
 gdb/gdbserver/Makefile.in |  2 +-
 gdb/gdbserver/configure   | 13 +++++++------
 gdb/gdbserver/linux-low.c | 16 ++++++++--------
 gdb/nat/fork-inferior.h   |  2 +-
 gdb/warning.m4            |  7 ++++---
 7 files changed, 26 insertions(+), 23 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2017-06-19  8:07 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-10 19:58 [PATCH 0/5] Remove a few hurdles of compiling with clang Simon Marchi
2017-06-10 19:58 ` [PATCH 4/5] linux-low: Remove usage of "register" keyword Simon Marchi
2017-06-10 19:58 ` [PATCH 1/5] gdb: Pass -x c++ to the compiler Simon Marchi
2017-06-10 19:58 ` [PATCH 5/5] Add ATTRIBUTE_PRINTF to trace_start_error Simon Marchi
2017-06-14 19:49   ` Sergio Durigan Junior
2017-06-10 19:58 ` [PATCH 3/5] gdb: Add -Wno-mismatched-tags Simon Marchi
2017-06-10 19:58 ` [PATCH 2/5] gdb: Use -Werror when checking for (un)supported warning flags Simon Marchi
2017-06-11  2:36 ` [PATCH 0/5] Remove a few hurdles of compiling with clang Eli Zaretskii
2017-06-12  7:56   ` Yao Qi
2017-06-12 14:36     ` Eli Zaretskii
2017-06-12 15:54       ` Simon Marchi
2017-06-12 16:23         ` Andrew Pinski
2017-06-12 16:35           ` Pedro Alves
2017-06-12 16:37             ` Andrew Pinski
2017-06-12 16:45               ` Pedro Alves
2017-06-12 16:55                 ` Pedro Alves
2017-06-12 16:44           ` Simon Marchi
2017-06-12 16:55             ` Andrew Pinski
2017-06-12 17:00               ` Simon Marchi
2017-06-12 16:44         ` Eli Zaretskii
2017-06-13  9:14           ` Yao Qi
2017-06-13 10:23             ` Simon Marchi
2017-06-13 11:06               ` Pedro Alves
2017-06-13 11:08                 ` Simon Marchi
2017-06-13 14:38               ` Eli Zaretskii
2017-06-13 17:07                 ` Simon Marchi
2017-06-13 19:23                   ` Eli Zaretskii
2017-06-13 20:17                     ` Simon Marchi
2017-06-14  2:29                       ` Eli Zaretskii
2017-06-14 10:45                         ` Pedro Alves
2017-06-16 16:12                           ` John Baldwin
2017-06-13 15:22               ` Yao Qi
2017-06-13 15:44                 ` Eli Zaretskii
2017-06-14  9:07                   ` Yao Qi
2017-06-19  8:07                 ` Yao Qi
2017-06-13 10:44             ` Pedro Alves
2017-06-13 15:09               ` Joel Brobecker
2017-06-17 21:23 ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).