MinGW: C++11 perfect forwarding support is broken

Stephan Bergmann sbergman at redhat.com
Sun Feb 24 13:46:41 PST 2013


On 02/24/2013 06:33 PM, David Ostrovsky wrote:
> diff --git a/solenv/gbuild/platform/WNT_INTEL_GCC.mk
> b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
> index b9edab0..70a4608 100644
> --- a/solenv/gbuild/platform/WNT_INTEL_GCC.mk
> +++ b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
> @@ -87,6 +87,7 @@ endif
>   ifeq ($(HAVE_CXX0X),TRUE)
>   # We can turn on additional useful checks with c++0x
>   # FIXME still does not compile fully gb_CXXFLAGS += -std=gnu++0x
> +gb_CXXFLAGS += -std=gnu++0x
>   endif
>
> did the trick. It was activated during the configure, but deactivated
> during compilation.
> Not sure if i should commit that?

If it succeeds for a full build...  (Otherwise, we should probably 
explicitly disable determining HAVE_CXX0X and CXXFLAGS_CXX11 for MinGW 
in configure.ac.)

Stephan


More information about the LibreOffice mailing list