Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* GCC switch to C11 causes many testsuite compiler diagnostics
@ 2014-10-25 17:04 Sandra Loosemore
  2014-10-25 17:28 ` Mark Kettenis
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Sandra Loosemore @ 2014-10-25 17:04 UTC (permalink / raw)
  To: gdb-patches

Comparing my latest nios2 test results (with Pedro's thread patch) with 
those from a checkout a couple weeks old, I noticed I had some new 
ERRORs due to apparent compilation failures.  I tracked this down to the 
recent change on GCC mainline (r216247) to make the default C dialect 
GNU11, which enables -Wimplicit-int and -Wimplicit-function-declaration 
by default.  I started working on a patch to fix the offending 
testcases, but realized that there are hundreds of them.  :-(

So, before I invest a lot more time on this, is updating the GDB 
testsuite to use a more modern C dialect the Right Thing To Do?  I'm 
also wondering if it's really necessary to support compilers that can't 
handle function prototypes in the testsuite (not defining PROTOTYPES 
seems to be the default, in fact).

-Sandra


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

end of thread, other threads:[~2014-11-23  7:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-25 17:04 GCC switch to C11 causes many testsuite compiler diagnostics Sandra Loosemore
2014-10-25 17:28 ` Mark Kettenis
2014-10-30 16:23   ` Andreas Arnez
2014-10-31 19:02     ` Doug Evans
2014-10-31 19:23       ` Mark Kettenis
2014-10-31 19:29         ` Doug Evans
2014-11-03 11:02         ` Andreas Arnez
2014-10-30 16:07 ` Andreas Arnez
2014-10-30 22:26   ` Stan Shebs
2014-10-30 22:37     ` Sergio Durigan Junior
2014-11-23  7:27 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox