[cfe-dev] MinGW build does not compile with C++11

miroslav.fontan miroslav.fontan at wincor-nixdorf.cz
Mon Mar 3 13:39:45 PST 2014


Many thanks, 

 

With this toolchain is build on Win XP  OK.

 

Mira

 

From: Yaron Keren [mailto:yaron.keren at gmail.com] 
Sent: Sunday, March 02, 2014 3:27 PM
To: miroslav.fontan
Cc: Clang Dev
Subject: Re: [cfe-dev] MinGW build does not compile with C++11

 

If you are using the version from MinGW.org,, try the MinGW-w64 distribution
one from

 

 
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Wi
n32/Personal%20Builds/mingw-builds/

 

I have not tested LLVM build but in general I found mingw-builds to be more
complete and compatible.

 

Yaron

 

 

2014-03-02 16:15 GMT+02:00 miroslav.fontan
<miroslav.fontan at wincor-nixdorf.cz>:

Hi all,

 

Win32 MinGW32 build seems broken after switch to C++11. It looks like
-std=c++11 implies __STRICT_ANSI__ and MinGW32 headers are very strict (for
ex. missing type off_t, missing strdup,... )

 

I am using gcc 4.7.2 and 4.8.1

 

Mira Fontan 


_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140303/69fcfd26/attachment.html>


More information about the cfe-dev mailing list