Codeblocks使用nullptr报错:warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]

Codeblocks使用nullptr报错:warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] 问题描述 主要原因是nullptr是C11的特性,需要在编译器中设置。 解决步骤 点击 setting(设置) -----> compiler setting(编译器设置) -----> Global compiler
相关文章
相关标签/搜索