Static src analysis of LibreOffice

John Smith lbalbalba at gmail.com
Tue Aug 7 03:42:02 PDT 2012


>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/x-gzip
Size: 12900 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120807/fc9e6f3e/attachment.bin>


More information about the LibreOffice mailing list