I'm having a lot of parser errors from eclipse but I don't have these errors when I compile the code. How can I ignore them?
Asked
Active
Viewed 1.5k times
8
-
1Another gem in the vein of http://stackoverflow.com/questions/9199974/gcc-allow-undefined-symbols – Seth Carnegie Jul 18 '12 at 17:13
-
For me, it had no effect to change the settings in Window | Preferences | General | Editors | Text Editors | Annotations. But if you get a lot of errors on std::things, this thread offers some tips that might eliminate those errors: https://www.eclipse.org/forums/index.php/t/490066/ – Qwertie Jan 24 '19 at 00:50
3 Answers
5
In the Indigo version of the CDT:
Project Settings -> C/C++ General -> Code Analysis
You can enable/disable specific errors and warnings, as well as customize inclusion and exclusion patterns for those warnings.
If you get a large number of "Type 'TYPE' could not be resolved" errors, perhaps you need to make sure Eclipse can find all your code and libraries. You might want to check:
C/C++ General -> Paths and Symbols

Soverman
- 1,135
- 1
- 9
- 16
-
Beginning with Eclipse Oxygen.3 (or.2). warnings/markers can be suppressed by simply using "Quick Fix". – Armin J. Mar 06 '18 at 12:29
0
Under Settings you can selectively turn off and on which errors it reports, and how it displays them.

Andrew Tomazos
- 66,139
- 40
- 186
- 319
0
1 ]
- Windows-->preferences-->type "anno" you will find annotation
- Navigate(scroll) to warning section , uncheck vertical ruler and rest if you wish
other method
- 2] go to project explorer right click any project you wish to disable/turn off warnings or such
- --->properties ---> c/c++ settings-->tool settings--->search your compiler c or C++ and ---> navigate to warning section----uncheck all (/any checked) ------> build project and Voila warnings gone :)