On Sun, Jan 14, 2007 at 10:33:28PM +0100, Joerg Schilling wrote:

> #pragma ident "%Z%%M% %I% %E% Copyright 2007 J. Schilling"
> 
> using gcc -Wall:
> 
> s.c:1: warning: ignoring #pragma ident

If you use -Wall and want to compile files with #pragma ident in them,
also use -Wno-unknown-pragmas, as ON does.

> We either need to think about using tab chars in ID strings or
> call this a compiler bug that needs fixing.

Seems like the latter; -O shouldn't change the way idents are handled.

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
FishWorks                       "Excellent; we can attack in any direction!" 
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to