[info-performer] Re: info-performer Dec 05 2002

New Message Reply Date view Thread view Subject view Author view

From: Dirk Scheffter (scheff++at++appss.de)
Date: 12/06/2002 06:32:31


Hi Marc,

> I wanted to check if Performer could be linked against exception-enabled libraries.
> Is it totally safe now (2.5) ?

I guess: not.

> Or should I find another library without the try-throw-catch stuff ?

This is the safe way.

However, you can easy check by yourself:

Copy /usr/share/Performer/src/pguide/libpf/C++/simple.C

and add a few lines at beginning:

// ***** ExceptionTest *****
// throws an exception
void ExceptionTest(void)
{
  throw int(1);
}

and inside of runtime loop:

    // make exception test
    try {
      ExceptionTest();
    }
    catch (int value) {
      printf("Exception '%d' catched.\n", value);
    }

I did this a few months ago on Performer 2.5, Linux slackware,
and it dumped core.
I'm not sure about the sub-minor release we use. (2.5/2.5.1/2.5.2)

Bummer! I wanted to port my XML reader (based on XercesC/SAX) from Irix to
Linux which uses exceptions.

Best regards,
Dirk.

====================================================================
Dirk Scheffter

applied software solutions (appss) GmbH
Sandtorstr. 23
D-39106 Magdeburg
Germany

Phone: +49-(0)391-54486-19387
Fax: +49-(0)391-54486-19222
E-mail: scheffter++at++appss.de
URL: http://www.appss.de

Managing Director: Uwe Hess, Dietmar Schäfer
Register: HRB12386, AG Mageburg

"Virtual business becomes reality!"

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this
e-mail. Any unauthorised copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.
===================================================================


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Dec 06 2002 - 06:41:07 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.