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] |
On 6/8/2013 12:56 PM, Thien-Thi Nguyen wrote:
No, it's much the same as gcc -P, as far as I could tell by looking it up. Why to to opengroup for something they didn't deal with?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...
-- Tim Prince
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |