Indexer equivalent of "gcc --include filename" ? [message #722672] |
Tue, 06 September 2011 09:27  |
Eclipse User |
|
|
|
I'm working on a project with a custom Makefile where one global configuration header is included automatically in every invocation of gcc through
gcc --include headerfile.h ... sourcefile.c
This is an alternative to adding '#include "headerfile.h"' to every single C source file.
However, I cannot find a way to let the Eclipse CDT indexer deal with this. Hence, all #ifdef'ed code sections are considered "inactive", errors stack up, and type/call hierarchy is broken. Hence, I have no benefit at all in using Eclipse anymore.
I was hoping to find something in project settings but I can only manually add symbols. As the configuration header changes over time, this is not an option.
I am using Eclipse Indigo. Any suggestions?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.48449 seconds