This is the mail archive of the
mailing list for the GCC project.
Re: Faster compilation speed
Noel Yap wrote:-
> I don't see this as too big a problem. Just output a
> file like:
> #if COND
> /* contents of header file
> In fact, doing it this way has the advantage that
> several builds, not necessarily agreeing on the value
> of COND, can use the file.
Hmm, and what about header guards? Infinite recursion?
> I think one needn't preprocess everything perfectly in
> order to gain significant advantages. Would you say
> that what I suggest is better than what we have now?
Correctness is paramount; if it's not correct it's no