Replies: 1 comment 2 replies
|
In short CDT indexer is finicky but it's possible your C++ project isn't setup right. Is your project setup with CDT managed build or something else? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using
strchr()and the eclipse C/C++ indexer shows a syntax error warning.I'm using the
gtk4library that includesglib-2.0on Linux.The declaration of
strchr()is in<string.h>If, in my code, I add
#undef strchrbefore using
strchrI get no warning and the code compiles also without error or warning.Why is the indexer having problems with this code and is there a way to disable the warning just for this function?
Michael
All reactions