|
From: Daniel K. O. <dan...@ya...> - 2005-04-08 14:52:59
|
gpuime wrote:
> double ln(double x) throw(char*){
> if(x<=0) throw "ln error" ; return log(x) ; }
You are throwing a "const char*", not a "char*".
Change your exception specification to "const char*".
Daniel K. O.
|