[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: An Ansi-C question or... Is egcs/gcc Ansi compliant?
From:       "Martin v. Loewis" <martin () mira ! isdn ! cs ! tu-berlin ! de>
Date:       1998-12-31 10:17:59
[Download RAW message or body]

> Just playing with const:
[...]
> Why ignore egcs/gcc the const keyword such way?

The keyword is not ignored: you get a warning. This is ANSI compliant;
the compiler is required to diagnose the error, it may still chose to
compile the program (as an extension).

> Is there anyway to get a real const with egcs?

If you absolutely want compilation to fail, you should pass the flag
-pedantic-errors

> PS: I don't know this message is really on-topic here.

This was a good choice. Since you've suspected a bug,
egcs-bugs@cygnus.com would have been even better.

Regards,
Martin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic