Cool, I was just planning to build 4.5.0. I will hasten my plans.

On 3/2/10 4:23 PM, "Rainer Orth" <[email protected]> wrote:

Neale Ferguson <[email protected]> writes:

> gcc 4.4 and beyond flags #ident as deprecated and issues a warning. For files 
> being compiled with the flag that says "treat warnings as errors" means 
> builds come to a stop. I am removing #idents as I find them so my build will 
> continue.

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

gcc 4.5 is different:

$ gcc-4.5 -c ident.c
$ gcc-4.5 -c -Wall ident.c
$
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to