Faster compilation speed
Neil Booth
neil@daikokuya.co.uk
Fri Aug 9 15:14:00 GMT 2002
Noel Yap wrote:-
> I don't see this as too big a problem. Just output a
> file like:
> #if COND
> /* contents of header file
> #endif
>
> 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
good.
Neil.
More information about the Gcc
mailing list