I don't know of any option like the one you want in gcc . Yet you maywant to identify the absent header files and then comment the #includedirective with a script before parsing your sources. Then uncommentthe evils #include? Wouldn't it be a very simple solution? --Pierre-Matthieu Anglade