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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Mar 12 13:08:34 PDT 2014


I tested this locally on cygwin and mingw.  I committed it as r203701.
Lets see if it makes the bots happy.

On 12 March 2014 10:27, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> On 12 March 2014 05:09, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> FYI, it is also applicable to cygwin.
>> http://llvm.org/bugs/show_bug.cgi?id=18847
>>
>> I suggest to check non-ansi functionalities with both -std=c++11 and
>> -std=gnu++11 in configure.
>> IMHO, for now, we could use -std=gnu++11 until the source tree became
>> c++11-compliant.
>
> We should probably not use gnu++11 where we don't need it. The
> attached patch is a blind attempt at fixing this for cmake too. I have
> only tested that we still use c++11 on linux with it :-)
>
> Cheers,
> Rafael




More information about the cfe-dev mailing list