c/4876: required warning is not given

Dale Johannesen dalej@apple.com
Sat Nov 3 08:36:00 GMT 2001


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.



More information about the Gcc-bugs mailing list