Hi,
I have a program that compiles fine when I use -
CC: Sun WorkShop 6 2000/04/07 C++ 5.1 .
But the exact same program when compiled with -
CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
gives me an error - Error: The name exception is ambiguous, exception
and std::exception
What would have changed between these two compilers to suddenly have my
program throw this error?
The program looks something like this -
#include <it.h>
#include <exception>
using std::unexpected;
class testClass;
extern testClass *exception;
class testClass {
public :
class testClass *exp;
testClass(){
cout <<" I am in const";
exp=exception;
}
};
Any help or information would be very much appreciated.
Thanks and Regards,
Abhi