On 02/23/2012 05:08 PM, Lubos Lunak wrote:
  commit 437fe5a444411f68d1848c49121394f16f09611b made me notice that we
actually build with -std=c++0x and not -std=gnu++0x, which I think would make
more sense and be consistent with the case when we do not build in C++0x
mode.

  If you look at the gcc manpage for the description of -std, you'll notice
that the C++ default is gnu++98, and c++98 is switched to also by
using -ansi. So if we default to c++0x, we pretty much default to the more
strict -ansi, only in C++0x mode. That should mean that gcc is more strict
than its default and e.g. some of its extensions are disabled.

Argh, yes, failed to note that when I prepared the patch linked above.

  Any objections to switching to gnu++0x ?

Sounds good.

Stephan
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to