This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PING^2] PR 29521 Confusing warning for return with expression in function returning void


On Sun, 11 Feb 2007, Manuel López-Ibáñez wrote:

> http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01533.html
> 
> Updated, bootstrapped and regression tested again for a recent revision.

I don't think the new message is an improvement in the non-void case 
(where the diagnostic isn't conditioned on -pedantic); for non-pedantic 
messages I think it's best to avoid "ISO C forbids".

-- 
Joseph S. Myers
joseph@codesourcery.com

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