I have header base.h
containing
#ifndef GUARD_H
#define GUARD_H
<my code>
#endif
Eclipse CDT is graying out everything below #ifndef GUARD_H
. This would be correct if GUARD_H
were defined, but it is not.
Actually, the only place where it is defined across my system is the following line, precisely as intended for an include guard.
So, I cannot see why this happens.
Moreover, among the hundreds of headers I used under Eclipse CDT in my life, and in particular under the present project, this is the first time I see such a thing.
Why does this happen? How can I fix this?
Using Eclipse IDE for C/C++ Developers, Version: 2018-09 (4.9.0), Build id: 20180917-1800 under Win 10.