Re: #ident query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux