#ident query

Ken Foskey foskey@optushome.com.au
Wed Dec 22 08:02:00 GMT 2004


On Wed, 2004-12-22 at 07:38 +0000, Barry Clarkson wrote:
> Hi,
> 
> I'm in the process of porting some code to a Linux
> based platform that is using gcc 3.2.2.  I am trying
> to enforce ansi C (as near as possible!) but there are
> #ident directives within the code for third party
> source control. What can I modify within the source
> (not ideal) or on the command line to get ansi C and
> safely ignore the '#ident' directives (tried
> -fno-ident)?
> 

Simple.

/*
#ident "@(#) SCCS aps_log_err.c 1.7 - 04/10/13 14:02:54"
*/


-- 
Ken Foskey
OpenOffice.org developer




More information about the Gcc-help mailing list