Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Tue, Nov 22, 2011 at 07:23:48AM -0800, julien2412 wrote:

Like I said in the tracker sorry for all this mess :-(
Thank you for having solved this bug.
Do you know if there's a way to detect cases like this one ?

Compile with "gcc -std=c++0x" or "gcc -std=gnu++0x" or (since my
commit acc65ffb2ca76f6d6d57749ddbe6da301ba54b8a of yesterday 21 Nov
2011) on master any other C++11 compiler.

Kendy, would you consider having your MinGW tinderbox compile with
-std=c++0x or -std=gnu++0x? That would ensure coverage of Windows-only
code.

I don't know whether the newest version of Visual C++ has enough C++11
support or not for it to do that check at compile-time, too. If it
has, but it does not set __cplusplus to 201103, then maybe a Windows
porter could change that test to activate it on latest VC++? I suppose
it has someting like __MSVC_VERSION we could use. See also
http://cgit.freedesktop.org/libreoffice/core/commit/?id=2c46cde2edf25e8c9ae6f591b52a6b7c086fe166
for another place where support for C++11 is used.

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.