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

Felipe Contreras wrote:
| On Sat, Feb 23, 2008 at 10:45 PM, Alec Warner <[EMAIL PROTECTED]> wrote:
|> On 2/20/08, Felipe Contreras <[EMAIL PROTECTED]> wrote:
|>  >  b) Error are difficult to handle since bash doesn't have exceptions
|>
|>  I disagree here: most errors are fatal anyway any non fatal errors can
|>  be printed and saved via the elog facility.
|
| Yes, for the most common usage that's true, but that think about this
| example: I'm compiling gstreamer-plugins-good, which needs libraw1394,
| but the compilation fails, perhaps that user is not interested in that
| particular plugin so a dialog can pop up and the user can choose if to
| continue without the libraw stuff or fail.
|
| I'm sure that can be done without exceptions but as the complexity
| increases properly checking/passing around error values/messages
| becomes tedious.
|

That's what USE flags are for.

- --

Luis F. Araujo "araujo at gentoo.org"
Gentoo Linux

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHwbyIBCmRZan6aegRArK/AJ9wBvqPZ9PErpxiVHgpkSLuCZIixQCdGiEB
wvdMli4taTHJFVBoHYIzyLs=
=/1k7
-----END PGP SIGNATURE-----
--
gentoo-dev@lists.gentoo.org mailing list

Reply via email to