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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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) with 
warnings if the user compiles it with something different ?

> 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

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+eJneB+sU3TyOQjARAtYbAJ4ntufAgwojo6wZy+jpdrwgf9w/NACfd0dy
2WnCZwucIAQjnlkEGJkAfWo=
=1FUT
-----END PGP SIGNATURE-----





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