This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exception handling


On Monday, August 26, 2002, at 08:23 AM, Serguei I. Ivantsov wrote:


GCC does not catch hardware exceptions like divide by 0 and other traps.
Look at signal(3) for information on how to trap these on UNIX's.

Well,
What types of exceptions can I catch? access violations, invalid memory
access etc. ?
You can catch exceptions that are thrown from C++.  (Assuming
it's a C++ program you're writing.)

			--Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]