Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang
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 fixes the error? It was an issue with gcc not recognising typeof, but __typeof__. I tested it on both gcc and clang this time. Regards, Wei Ming 0001-Connectivity-use-__typeof__-instead-of-NS_STDCALL_PR.patch Description: Binary data ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang
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 you try this patch and see if it fixes the error? It was an issue with gcc not recognising typeof, but __typeof__. I tested it on both gcc and clang this time. Ah, I already fixed that problem on master this morning. Please see there. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang
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' with no type [-fpermissive] /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:52:23: error: typedef 'connectivity::mozab::{anonymous}::typeof' is initialized (use decltype instead) /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:53:23: error: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive] /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:53:23: error: typedef 'connectivity::mozab::{anonymous}::typeof' is initialized (use decltype instead) /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:65:13: error: 'CardPropertyGetter' does not name a type /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:66:13: error: 'CardPropertySetter' does not name a type /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:74:68: error: 'CardPropertyGetter' has not been declared /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:74:100: error: 'CardPropertySetter' has not been declared /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx: In constructor 'connectivity::mozab::{anonymous}::CardPropertyData::CardPropertyData()': /home/julien/compile-libreoffice/libo/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx:70:18: error: class 'connectivity::mozab::{anonymous}::CardPropertyData' does not have any field named 'PropGetter' ... Each test made like this : make connectivity.clean make connectivity Should I have recompiled another module to not need Khoo's patch ? Or perhaps my config is buggy ? Julien. -- View this message in context: http://nabble.documentfoundation.org/LibreOffice-3-6-0alpha-built-on-clang-tp3758515p3764694.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [PATCH][PUSHED] LibreOffice 3.6.0alpha built on clang
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 module to not need Khoo's patch ? Or perhaps my config is buggy ? Sorry, the relevant fix is http://cgit.freedesktop.org/libreoffice/core/commit/?id=437fe5a11f68d1848c49121394f16f09611b Work around g++ -std=c++0x rejecting 'typeof' keyword in module moz. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice