Re: Announcing: Project Ridley



* Philippe De Swert <philippedeswert scarlet be> schrieb:

<snip>
> This is an issue for embedded systems using gtk (like for example GPE). 
> Maybe a --disable-deprecated flag could do the trick? 

Nice idea.

BUT: it as to be absolutely clear what exactly this means. Just
calling it "obsolete" is not enough.

So better modelize several things considered "obsolete" as features,
which can be switched by --enable-foo / --disable-foo.
Of course the documentation and ./configure help should clearly 
state which features are obsolete.

AND: before adding new features or functionality, think *really carefully*
whether the new stuff *must* be in gtk and cannot reside in its 
own new library.

<snip>
> (the last thing could also be done with a deprecated macro that 
> warns during compilation as done in the Linux kernel) 

And if a certain feature is disabled, there should be macros for 
the disabled functions breaking the build with an appropriate
error message (ie. "function foo() reqiures obsolete feature foobar,
which is currently disabled"). So someone who's not an gtk developer
can easily see what's happening.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact metux de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------



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