https://bugs.kde.org/show_bug.cgi?id=398147
Bug ID: 398147
Summary: #ifdef is undelined when followed by a symbol starting
with underscore
Product: kdevelop
Version: git master
Platform: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP (Clang-based)
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
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.
--
You are receiving this mail because:
You are watching all bug changes.