Re: [htdig3-dev] Compression version check


Subject: Re: [htdig3-dev] Compression version check
From: bosc@ceic.com
Date: Tue Dec 14 1999 - 08:48:18 PST


> Do you mean exceptions? I think you'll need to ask a compile guru--I don't
> know what compilers support exceptions well. (I learned C++ with pretty
> modern compilers.)
>
> -Geoff

Hi,

We were thinking of handling exceptions using the C++ standards. I
checked out:

http://www.mozilla.org/hacking/portable-cpp.html

to make sure wether these were portable. Here's the answer they give:

3.Don't use exceptions.

Exceptions are another C++ feature which is not very widely
implemented, and as such, their use is not portable C++ code. Don't
use them. Unfortunately, there is no good workaround that produces
similar functionality.

One exception to this rule (don't say it) is that it's probably ok,
and may be necessary to use exceptions in some machine specific
code. If you do use exceptions in machine specific code you must catch
all exceptions there because you can't throw the exception across XP
(cross platform) code.

Too bad...

:-(

Marcel.

    ----------------------

    Marcel Bosc

    ECILA
    100 av. du Gal Leclerc
    93500 Pantin - France
    Tel: 33 1 56 96 10 85

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Dec 14 1999 - 09:02:43 PST