<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Dec 8, 2013 at 1:35 PM, Gmail <span dir="ltr"><<a href="mailto:yangzf01@gmail.com" target="_blank">yangzf01@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I am trying to compile the following statements using CPP.<br></blockquote><div><br></div><div>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.</div>
<div><br></div><div>The message you got was a warning, not an error. This warning can be suppressed (add parameters: <span style="color:rgb(0,0,0);white-space:pre-wrap">-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.</span></div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Worst case you can try making a gcc the user default compiler:</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br>
</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"> sudo port install gcc48 &&</span><span style="color:rgb(0,0,0);white-space:pre-wrap"> sudo port select --set gcc mp-gcc48</span></div><div>
<br></div><div>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++.</div><div><br>
</div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>