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

Csaba Raduly rcsaba at gmail.com
Wed Mar 12 14:55:29 PDT 2014


Yes, I ran into this on both 32-bit and 64-bit Cygwin.
I had to change two files:

llvm/Makefile.rules
llvm/projects/sample/Makefile.llvm.rules

On Wed, Mar 12, 2014 at 10:09 AM, NAKAMURA Takumi  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.
>
> 2014-03-12 17:51 GMT+09:00 Anton Korobeynikov <anton at korobeynikov.info>:
>>>> I am happy to apply the above if others are OK with it.
>>>> I am currently interested in using mingw32.
>>>
>>> We should change cmake too I think.
>>>
>>> Would anyone object to applying the patch to keep mingw32 working?
>>> Even if we make mingw-w64 the preferred solution, that is such a small
>>> patch I wouldn't have a problem with it.
>> The change looks fine to me as well. And certainly, we need to have
>> cmake version of this.
>>
>> --
>> With best regards, Anton Korobeynikov
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list