Andrew Cagney wrote: > Eli Zaretskii wrote: > >>> Date: Wed, 12 Jan 2005 18:57:52 -0500 >>> From: Andrew Cagney >>> >>> clash, callers updated). This lets users write a rough equivalent: >>> >>> struct exception e = catch_exceptions (....) >>> switch (exception.reason) >> >> >> >> Please don't call it ``struct exception'', as that clashes with the >> same struct defined by math.h and used by library function `matherr', >> and would not compile in C++ at all. >> >> Something like ``struct gdb_exception'' would probably be better. > > > Ah, thanks. I'll rename it. Sorry to take so long, I've committed the attached. Andrew