This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: #ident query


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]