[cfe-dev] How to compile a C++ code contain lambda expression?
james.dennett at gmail.com
Fri Sep 21 21:24:29 PDT 2012
On Fri, Sep 21, 2012 at 9:09 PM, 王长城 <200005275 at 163.com> wrote:
> i am a newer,now i want to compile a C++ code which contain a lambda
> when i compile it directly,the lambda expression can not be parse correctly.
> i want to know what a command line can make clang suppose lambda expression.
Clang compiles in C++98/C++03 mode by default AFAIK. You'll want to
use -std=c++11 or similar to request C++11 support.
More information about the cfe-dev