On Sun, Dec 8, 2013 at 1:35 PM, Gmail <yangz...@gmail.com> wrote:
>
> I am trying to compile the following statements using CPP.
>

This is a (formerly common) abuse of CPP and nobody can guarantee the
result. I *very strongly* recommend you contact whoever provided whatever
it is you are working with and get them to stop using cpp.

The message you got was a warning, not an error. This warning can be
suppressed (add parameters: -Wno-invalid-pp-token -Wno-unicode
-Wno-trigraphs) but very little can be done if clang's cpp is producing
output you don't expect.

Worst case you can try making a gcc the user default compiler:

sudo port install gcc48 && sudo port select --set gcc mp-gcc48

and then find and run its cpp. I can't guarantee future versions of gcc
will continue to work, though, as there is no guarantee whatsoever that cpp
will work on things that are not C/C++.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to