This is the mail archive of the gcc-help@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]

exception header file changes


Hi, 
	I have just upgraded from GCC 2.95.2 to GCC 3.0.2. I notice that the
exception header file has changed - the destructor has an
	empty throw() spec. 

	This is causing me problems as derived exceptions from
std::exception must know also provided an empty throw() spec.
	(the compiler gives an error of "looser throw specification" for the
derived class.

	Is there any way around this other than by changing my code - such
as a compiler flag?

Thanks,
Andrew Munro
Software Engineer
Boeing Australia
(07) 3306-3567


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