I have a project which use gcc -include file.h
As gcc documentation say, this ensures that file.h is included in every file which is compiled this way (meaning like there was #include "file.h" in every other files).
Now I have imported this project into eclipse and I set up the include path where that file is but can't figure out how to do something like gcc -include in eclipse project setting. The result of this is that in editor I have a LOT of "Symbol xy could not be resolved" but the project compiles just fine.
Thanks for any help.

file.hseen from the indexer? I think that can be done adding the header file in the Paths and Symbols properties dialog, but I'm not sure if you can add a specific file.