
On 5/15/06, Stefan Seefeld <seefeld@sympatico.ca> wrote:
[snipped]
Oh, so you want to recognize an include directive without actually processing the included file ?
What if you have
#include "foo.hh" #include BAR
and the value of BAR depends on the preprocessor's state after having (pre-)processed foo.hh ?
In this case the header would have to exist or an error should be emited for the include directive. I want to be able to preprocess a file without *needing* the system headers. Although, using them is a lot safer. #include BAR is very common in boost for including extension headers, but the macros are all defined in the boost headers. So there is no problem.
Regards, Stefan
Thanks, -- Felipe Magno de Almeida Consultor - Expertise Solutions