In Eclipse, can I remove the red error markers?

后端 未结 3 1252
夕颜
夕颜 2021-02-02 09:40

I need to view source files from a project (C++) that I do not intend to run. Loaded in Eclipse, it has many errors due to missing libraries. Is there a way to tell Eclipse to i

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-02 09:57

    If you are using the CDT plugin, which you probably are as you're using Eclipse for a C/C++ project:

    • Window -> Preferences -> C/C++ -> Code Analysis.
    • Disable Potential Programming Problems and Syntax and Semantic Errors.

提交回复
热议问题