The following code compiles with Microsoft Visual Studio but not with GNU (version 3.3.3 running on Linux). Is there a way to inhert from exception in GNU? Thanks.
#include <iostream>
#include <exception>
class Toto : public exception
{
public:
virtual const char* what() { return "tutu";}
private:
};
int main()
{
return 0;
}
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus
