Robson
asked on
C++ Builder5 exception problem
#include <exception>
class FooException: public exception
{
FooException() {};
};
And compiler says:
[C++ Error] File1.cpp(4): E2303 Type name expected
What's wrong? Under GCC it went just fine..
class FooException: public exception
{
FooException() {};
};
And compiler says:
[C++ Error] File1.cpp(4): E2303 Type name expected
What's wrong? Under GCC it went just fine..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>I wonder if this piece of code will compile under GCC now...
It should - if you have an up-to-date STL version
It should - if you have an up-to-date STL version
ASKER
I wonder if this piece of code will compile under GCC now...