[Libreoffice] C++0x and LibreOffice
pjacquod at alumni.ethz.ch
Thu Nov 25 10:53:31 PST 2010
thanks, will avoid some errors..
I guess this is not (yet ?) enabled per default / per configure choices?
Since I am very weak with make and such tools: any possibility to enable
it per option when running ./autogen.sh ? Activated if possible during
the configure run? Or an other way to let it run?
Thanks for you help
On 11/24/2010 09:21 PM, Caolán McNamara wrote:
> LibreOffice should now be buildable with a C++0x compiler. Well at least
> g++ -std=c++0x on x86_64 Linux anyway.
> Which may then allow the possibility to do some potentially interesting
> things with string literals and templates with anonymous classes etc.
> e.g. see sal/workben/measure_oustrings.cxx and the SAL_N_ELEMENTS
> template I mentioned earlier which could at compile-time detect misuse
> of SAL_N_ELEMENTS and RTL_CONSTASCII_USTRINGPARAM.
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
More information about the LibreOffice