I have a following code: #ifdef __cplusplus // ... Bla bla ... #endif KDevelop underlines the whole '#ifdef' line (and makes it red) because of "__cplusplus". I figured out it will always do when the definition I'm checking starts with underscore. I think this is a bug as many system headers have definitions that start with underscores and __cplusplus checks are pretty common in C headers.
I'll move this to frameworks/syntax-highlighting, the bug is there.
Yes, should be fixed with 5.50 *** This bug has been marked as a duplicate of bug 397766 ***