Dear clang/LLVM gurus-<br><br>I'm trying clang (off of the trunk) to try and build our C/C++ sources. <br><br>Clang compiled the C files properly and a few C++ files OK as well.
The problem I currently see is with C++ sources files that use boost
headers. The boost
headers have relative paths for some headers and clang is unable to get
to them.<br><br><br>Any clues to get this working?<br><br>Thanks,<br>-KC<br><br>An example:<br><br>clang: warning: argument unused during compilation: '-mcld'<br>clang: warning: argument unused during compilation: '-fPIE'<br>
In file included from AtomicFileStream.cc:14:<br>In file included from include/Exceptions.hh:9:<br>In file included from linux64/include/boost/tr1/tr1/iomanip:16:<br>bora/build/package/COMPONENTS/boost1430_lin64_gcc412/ob-387294/linux64/include/boost/tr1/detail/config_all.hpp:151:12:
fatal error: '../4.2.1/utility' file not found<br># include BOOST_TR1_STD_HEADER(utility)<br> ^<br>bora/build/package/COMPONENTS/boost1430_lin64_gcc412/ob-387294/linux64/include/boost/tr1/detail/config_all.hpp:95:44:
note: instantiated from:<br># define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name><br> ^<br>1 error generated.<br><br><br>Thanks,<br>
-KC<br><br>