gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Legacy applications and headers


From: Nicola Pero
Subject: Re: Legacy applications and headers
Date: Fri, 19 Mar 2004 18:48:29 +0000 (GMT)

> > ... because when we have precompiled headers in gnustep, there will be 
> > no
> > need for such an optimization on gnustep, so presumably we drop all the
> > conditionals and we just use #include <Foundation/Foundation.h> on all
> > platforms!  Yuppie!  :-)
> >
> > That will make this discussion obsolete, will simplify headers and make
> > them simpler and more readable, and faster on gnustep.
> >
> > I think you can leave with #ifdef GNUSTEP for now particularly given 
> > the
> > promise that we'll drop it once we have PCH on normal gcc and 
> > gnustep-make
> > is able to use them. :-)
> >
> 
> But won't we want to support older compilers as well? Or will we doom 
> all older compilers to require using #include <Foundation/Foundation.h>?

Older compilers would compile slower, but they would still work perfectly
well.

Of course, we could try to support older compilers without PCH a bit
better for a while ... with some sort of special #ifdef, but it would
still be a temporary tweak, as I think the final setup (maybe years from
now, but we plan long term) would be to just #include
<Foundation/Foundation.h>.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]