Neale Ferguson <[email protected]> wrote:
> Not true for the `beyond' part: while gcc 4.4 unconditionally warns
> about #ident
>
> $ cat ident.c
> #ident "lets see what happens"
> $ gcc-4.4 -c ident.c
> ident.c:1:2: warning: #ident is a deprecated GCC extension
Before it did become a GCC extension, it was a Sun C extension ;-)
The problem with GCC-4.4 is that it cannot be called ANSI C compliant.
I did e.g. not jet find a way to prevent a warning for this line:
(void)write(1, "Test" 4);
which is 100% correct and even marks the return value as out of interest
but this fact is ignored by gcc.
Jörg
--
EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
[email protected] (uni)
[email protected] (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code