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

Yaron Keren yaron.keren at gmail.com
Sun Mar 2 06:27:25 PST 2014


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%20Win32/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/20140302/eba89e84/attachment.html>


More information about the cfe-dev mailing list