[IGSTK-Developers] Broken commit to IGSTK Sandbox: gstkTrackerConfigurationXMLFileReaderBase.h
Luis Ibanez
luis.ibanez at kitware.com
Tue Dec 9 21:09:00 EST 2008
HI Ziv,
Your recent commit:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Examples/ApplicationsCommon/TrackerConfiguration/configurationFileReaders/igstkTrackerConfigurationXMLFileReaderBase.h?root=IGSTKSandbox&r1=1.5&r2=1.6&sortby=date
class UnexpectedTrackerTypeException : public std::exception
{
public:
UnexpectedTrackerTypeException(){ };
~UnexpectedTrackerTypeException(){ };
};
Does not compile under gcc 4.2.
It produces the following error message:
In file included from
/home/ibanez/src/ISIS/IGSTKSandbox/Examples/ApplicationsCommon/TrackerConfiguration/configurationFileReaders/igstkTrackerConfigurationFileReader.h:5,
from
/home/ibanez/src/ISIS/IGSTKSandbox/Examples/Navigator/Navigator.h:71,
from
/home/ibanez/src/ISIS/IGSTKSandbox/Examples/Navigator/main.cxx:23:
/home/ibanez/src/ISIS/IGSTKSandbox/Examples/ApplicationsCommon/TrackerConfiguration/configurationFileReaders/igstkTrackerConfigurationXMLFileReaderBase.h:24:
error: looser throw specifier for 'virtual
igstk::TrackerConfigurationXMLFileReaderBase::UnexpectedTrackerTypeException::~UnexpectedTrackerTypeException()'
/usr/include/c++/4.2/exception:60: error: overriding 'virtual
std::exception::~exception() throw ()'
make[2]: *** [Examples/Navigator/CMakeFiles/Navigator.dir/main.o] Error 1
make[1]: *** [Examples/Navigator/CMakeFiles/Navigator.dir/all] Error 2
make: *** [all] Error 2
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20081209/8f63b288/attachment.html>
More information about the IGSTK-Developers
mailing list