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