[llvm-commits] [lld] r152269 - in /lld/trunk: ./ include/lld/Core/ include/lld/Platform/ lib/ lib/Core/ lib/Passes/ test/ tools/lld-core/

Benjamin Kramer benny.kra at googlemail.com
Thu Mar 8 16:31:51 PST 2012


On 09.03.2012, at 01:11, Chris Lattner wrote:

> 
> On Mar 8, 2012, at 3:02 PM, Evandro Menezes wrote:
> 
>> GCC 4.4.5 with "-std=c++0x", since its default is "-std=c++98":
>> 
>> tools/lld/lib/Core/Resolver.cpp:264: warning: 'auto' will change meaning 
>> in C++0x; please remove it
>> 
>> I'm not always at liberty to use whichever compiler I want, but what IT 
>> lets me.
> 
> Ok, build clang first, then use it to build lld.

GCC 4.4's c++11 support isn't great, but it supports auto and a few other things with -std=c++0x.

I changed the build system to use -std=c++0x instead of -std=c++11 in r152355, for compatibility with gcc < 4.7.

- Ben

> 
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list