RE: [Re: [libxml++] UTF8 support]



> Le Mercredi 19 Mars 2003 17:13, Murray Cumming Comneon com a écrit :
> > > From: Jonathan Wakely [mailto:cow compsoc man ac uk]
> > >
> > > A simple solution would be for the library to provide all 
> the common 
> > > instantiations (glib::ustring, QString etc.) and conditionally 
> > > compile them according to options to configure (--with-ustring, 
> > > --with-qstring).
> >
> > Conditional compilation should be avoided. We should expect 
> that libs 
> > will be distributed in binary form, and only one form of 
> the library 
> > will be distributed.
> >
> 
> Can't we do a default behavior (compiling qlibxml++ and 
> glibxml++ for ex

I don't understand "glibxml++ for ex".

>) with 
> warnings if the user compiles it with something different ?

That's still conditional compilation so it still has the problems.
 
> > Also, it confuses the dependency tree - Applications should 
> be able to 
> > depend on a particular version of a library, without having 
> to worry 
> > about how that library was built.
> >
> 
> indeed




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