Topic: [Q] exception handling with CSET++ (xlC)


Author: gabara@peanuts.Informatik.Uni-Tuebingen.DE (Andrej Gabara)
Date: 26 Oct 1994 12:44:10 GMT
Raw View
I am trying to compile a library developed on SunPRO C++ 4.0 that includes a
standard header <exception.h> which is not available  on CSET++ (xlC 1.2).
Further, this library uses a predefined exception called "xalloc", I guess
if virtual memory runs out, and is thrown by operator new. xlC does not seem
to define an exception, or any predifined exceptions at all. What do I have to
do to get code such as below working?

 #include <exception.h>

 class Fubar {
 ...
  void so_something() : throw(xalloc, SomeOtherException, ...);
 ...
 }

WBGFAH (Would be greatful for any help)

-Andrej