GNU "cpp -P" portability
Thien-Thi Nguyen
ttn@gnuvola.org
Sat Jun 8 16:53:00 GMT 2013
Is "cpp -P" POSIX?
I poked around at
http://www.opengroup.org/onlinepubs/9699919799
and could find only matches to "preprocessor" rather than "cpp" in the
search facility, and so surmise "no", but thought i'd ask here anyway.
I suppose a portable workaround would be:
cpp FILENAME | sed '/^#/d'
but have fingers crossed nonetheless...
--
Thien-Thi Nguyen
GPG key: 4C807502
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20130608/2db4333d/attachment.sig>
More information about the Gcc-help
mailing list