#ident query
Eljay Love-Jensen
eljay@adobe.com
Wed Dec 22 12:32:00 GMT 2004
Hi Barry,
You could pre-process the source file to remove the offending #ident lines
before compiling.
This will remove the line entirely...
grep -v -e '^#ident' source.c >source.c1
gcc -pedantic -W -Wall -o source.o -x c source.c1
Or this will replace the line with a blank line...
sed -e 's/^#ident.*$//' source.c >source.c1
gcc -pedantic -W -Wall -o source.o -x c source.c1
HTH,
--Eljay
More information about the Gcc-help
mailing list