But it looks like I can do "scan-build --use-cc=clang --use-c++=clang++ ", im trying that but I still get GCC for compilation... Will investigate later, gotta go now.
Well now when I do: scan-build --use-cc=/usr/local/bin/clang --use-c++=/usr/local/bin/clang++ \ -o /tmp/foo ./configure --enable-debug --with-system-libcmis=no \ --with-system-saxon=no --with-system-libs I get : checking if gij knows its java.home... /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.5 checking for jawt lib name... configure: error: jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing? I dont get that error when I dont use scan-builds '--use-cc/c++' options. - John
Attachment:
config.log.gz
Description: GNU Zip compressed data