@jflfy 那这个有点坑,说好的支持C11,很多库用不了
Arrow
@Arrow
0
声望
23
帖子
2307
资料浏览
1
粉丝
3
关注
Arrow 发布的帖子
-
请问怎么才能支持C++11?为什么用sw5CC提示C++11中的函数出错
QuantumState.h:87: error: 'nullptr' was not declared in this scope
main.cpp: In function 'int main()':
main.cpp:13: error: 'nullptr' was not declared in this scope
In file included from QuantumState.cpp:2:
QuantumState.h:87: error: 'nullptr' was not declared in this scope
QuantumState.cpp: In member function 'void QuantumState::init()':
QuantumState.cpp:46: error: 'nullptr' was not declared in this scopeQuantumState.cpp:504: error: 'to_string' was not declared in this scope