Re: MinGW: C++11 perfect forwarding support is broken
Am 24.02.2013 02:23, schrieb Gábor Stefanik: On Sun, Feb 24, 2013 at 12:43 AM, David Ostrovsky david.ostrov...@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. no it does, it was late yesterday: 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? David ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: MinGW: C++11 perfect forwarding support is broken
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 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
MinGW: C++11 perfect forwarding support is broken
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 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@numptyi686-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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: MinGW: C++11 perfect forwarding support is broken
On Sun, Feb 24, 2013 at 12:43 AM, David Ostrovsky david.ostrov...@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@numptyi686-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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice