[英]Code completion not working in Clion 2019.1 for c++2a
I have Clion 2019.1 and gcc-9.0.1(trunk). 我有Clion 2019.1和gcc-9.0.1(trunk)。 Code completion and syntax analyser don't recognize the
concept
keyword and other c++2a features released in gcc-9.0.1. 代码完成和语法分析器无法识别gcc-9.0.1中发布的
concept
关键字和其他c ++ 2a功能。
In CmakeLists.txt
i use CMAKE_CXX_STANDARD 20
and compilers flags -fconcept -std=c++2a
在
CmakeLists.txt
我使用CMAKE_CXX_STANDARD 20
和编译器标志-fconcept -std=c++2a
The code compiles fine. 该代码可以正常编译。
Try to use -fconcepts
command line option as described in https://gcc.gnu.org/projects/cxx-status.html 尝试使用https://gcc.gnu.org/projects/cxx-status.html中所述的
-fconcepts
命令行选项
This may help. 这可能会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.