Community
Participate
Working Groups
Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 When I use common predefined macro '__BASE_FILE__' Eclipse says: "Symbol '__BASE_FILE__' could not be resolved". But compilation is OK. Reproducible: Always Steps to Reproduce: 1. Create new C project 2. Type the following code: #include <stdio.h> int main() { printf("%s\n", __BASE_FILE__); return 0; } 3. Run C/C++ static analyzer.
This macro is documented here: http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html __INCLUDE_LEVEL__ is another predefined GCC macro that CDT doesn't recognize.