Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,


Well I finally managed to do a 'scan-build' src analysis of
LibreOffice ~master, using clang as the compiler instead of GCC. There
still are a few files where analysis failed and clang crashed, but
those are only a few (and I submitted a bug report for that at
http://llvm.org/bugs/show_bug.cgi?id=13614).

The report still includes bits of dbuild, as that still seems to get
included in a build. The rest of the ./configure flags were :

--disable-ccache
As I couldnt get the clang compiler to play nice with ccache cached files.

--enable-debug
I assumed people would want to include debug code as well.

--with-system-libcmis=no
The system libcmis is the same version as the inculded one(0.2.3),
but... the included one seems to add a few patches that are required
for libreoffice, forcing the use of the included version.

--with-system-libs
As most people didnt want the results to include 3rd party code.

--with-system-hsqldb=no --with-system-saxon=no
I have been told that the internal version of those are special cases
where the internal always are required.


The full report is at :
http://lbalbalba.x90x.net/clang-analyzer/libreoffice-with-clang/



Have fun,




Regards,


John Smith.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.