MinGW: C++11 perfect forwarding support is broken

Gábor Stefanik netrolller.3d at gmail.com
Sat Feb 23 17:23:39 PST 2013


On Sun, Feb 24, 2013 at 12:43 AM, David Ostrovsky
<david.ostrovsky at gmx.de> wrote:
> So we have weird breakage on MinGW:
>
> in configure phase i686-w64-mingw32-g++ reports back success for that check:
>
> configure:15247: checking whether ccache i686-w64-mingw32-g++ supports C++11
> perfect forwarding
> configure:15275: ccache i686-w64-mingw32-g++ -c  -std=gnu++0x conftest.cpp
>>&5

Apparently gnu++0x is no longer recognized as a synonym of gnu++11.
There are several references in the error log to features "only
available with -std=c++11 or -std=gnu++11".

> configure:15275: $? = 0
> configure:15288: result: yes
>
> setting HAVE_CXX11_PERFECT_FORWARDING to 1
> and then failing in compile phase with the question: what's that [1].
>
> Workaround for now is uncomment export lines in configure.ac, then it s
> happy again [2]
>
> Environment:
>
> newest OpenSUSE,
> david at numpty>i686-w64-mingw32-g++ --version
> i686-w64-mingw32-g++ (GCC) 4.7.2
>
> [1] https://ci.idaia.de/job/LO-Mingw64/142/console
> [2] https://ci.idaia.de/job/LO-Mingw64/151/console
>
> David
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)


More information about the LibreOffice mailing list