Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-21 Thread Stephan Bergmann
On 02/21/2012 09:09 PM, julien2412 wrote: I git updated and it failed again the same way. With Khoo's patch, it worked. Then I removed his patch and tried again, it failed again. [...] Each test made like this : make connectivity.clean&& make connectivity Should I have recompiled another modu

Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-21 Thread julien2412
Hi, I git updated and it failed again the same way. With Khoo's patch, it worked. Then I removed his patch and tried again, it failed again. /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:52:23: error: ISO C++ forbids declaration of 'typeof

Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-21 Thread Stephan Bergmann
On 02/21/2012 02:36 PM, Khoo Wei Ming wrote: On pc Debian x86-64, I've got this kind of errors : /home/julien/compile-> libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:51:23: error: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive] Could y

Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-21 Thread Khoo Wei Ming
Julien, > On pc Debian x86-64, I've got this kind of errors : > /home/julien/compile-> > libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:51:23: > error: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive] Could you try this patch and see if it

Re: LibreOffice 3.6.0alpha built on clang

2012-02-20 Thread julien2412
Hi Khoo, Here's the command line I use on LO root directory : ~/llvm/llvm/tools/clang/tools/scan-build/scan-build make 2>1 1>~/llvm/out/llvm.txt Hope it helps Regards, Julien. -- View this message in context: http://nabble.documentfoundation.org/LibreOffice-3-6-0alpha-built-on-clang-tp3758515

Re: [PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-20 Thread julien2412
On pc Debian x86-64, I've got this kind of errors : /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:51:23: error: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive] /home/julien/compile-libreoffice/libo/connectivity/source/dr

[PUSHED] LibreOffice 3.6.0alpha built on clang

2012-02-20 Thread Michael Meeks
Hi there, On Sun, 2012-02-19 at 17:59 +, Khoo Wei Ming wrote: > A big kudos to Kristian Rietveld for his hard work described here > http://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang Indeed :-) > So for what it's worth, here's the route I took (by no means

Re: LibreOffice 3.6.0alpha built on clang

2012-02-20 Thread Khoo Wei Ming
Hi Julien, > I began to run static analyzer and posted some output on the easyhack here : > https://bugs.freedesktop.org/show_bug.cgi?id=39596 I'm getting the message scan-build: Removing directory '/tmp/scan-build-2012-02-20-1' because it contains no reports. How did you get scan-build to gener

Re: LibreOffice 3.6.0alpha built on clang

2012-02-19 Thread julien2412
Khoo Wei Ming wrote > > ... > Future plans > I plan to try out the clang static analyzer, and if I survive that > maybe I'll give KLEE a go. > I began to run static analyzer and posted some output on the easyhack here : https://bugs.freedesktop.org/show_bug.cgi?id=39596 Julien. -- View this me

LibreOffice 3.6.0alpha built on clang

2012-02-19 Thread Khoo Wei Ming
A big kudos to Kristian Rietveld for his hard work described here http://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang So for what it's worth, here's the route I took (by no means ideal). I built LibO 3.6.0alpha using clang 3.1 on Ubuntu 11.04 Natty 32 bits and ./autogen