[Libreoffice] [PATCH] [REVIEW 3-4] fdo#36555 connect to ADO (MS Access, ...)

Lionel Elie Mamane lionel at mamane.lu
Tue Nov 22 08:52:41 PST 2011


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


More information about the LibreOffice mailing list