Please find attached a patch to enable the build process to get somewhere
on FreeBSD 10.
With FreeBSD 10 deprecating gcc, and Clang's preprocessor lacking the
-traditional directive, I edited FreeBSD.cf to use gcc's cpp installed from
Ports. I also altered some non-void functions to return 0 in line with
Clang++'s expectancies of standards-compliance.
At the moment the main issue preventing using Clang in its entirety for a
CDE build is the absence of a -traditional directive to Clang's cpp. It
appears to become upset by the Concat3 macro -- Clang cpp leaves whitespace
in place of comments.

--
David Mackay

Attachment: CDEClang
Description: Binary data

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to