This is the mail archive of the gcc-bugs@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: c/4876: required warning is not given

[Get raw message]

On Wednesday, November 14, 2001, at 11:12 AM, jsm28@gcc.gnu.org wrote:
> Synopsis: required warning is not given
>
> State-Changed-From-To: open->closed
> State-Changed-By: jsm28
> State-Changed-When: Wed Nov 14 11:12:22 2001
> State-Changed-Why:
>     If you want warnings for all constraint violations, use -pedantic.

I don't necessarily want warnings for all constraint violations.  Right now

void xx() { return 3; }

gets a warning but

void xx() { return xx(); }

does not (without -pedantic).  This seems wrong to me.  But if the 
behavior is
intentional, OK.


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