Eclipse thinks __cplusplus is defined for a .c file!!


I'm utilizing Eclipse Juno with thew ADT for an Android NDK based task and I have tracked down that the Eclipse indexer thinks __cplusplus is characterized inside a .C record.

I need to #undef __cplusplus all together for the document to show effectively with no non-existant blunders being found except for everything assembles OK without this catalyst.

How might I let the indexer know that __cplusplus ought not be characterized for my .c document ?

Appreciate for help..
Last edited on
Was your use of ".C" deliberate or finger trouble?

Because .C (ie, capital-C) is sometimes taken to mean a C++ source file.
Hence the IDE may infer that __cplusplus is indeed a defined symbol.

Topic archived. No new replies allowed.