GNU "cpp -P" portability

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

 



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

Attachment: pgpVDU0zTyOQd.pgp
Description: PGP signature


[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