OONumerics User : |
From: Rainer Blome (rainer_blome_at_[hidden])
Date: 2006-01-18 06:21:43
Nguyen Xuan Son <nguyenxuanson_at_[hidden]> wrote on 17.01.2006 16:18:06:
> Dear group readers,
> I use the Barton-Nackman trick in my code, and I can compile it
> correctly with Visual Studio 7.0 but have problem when trying to
> cmpile Sun Solaris Compiler CC, the problem comes from the following
> line of code, the error is "multiple decoration for PdeSolver2D".
'PdeSolver2D' does not occur in your code sample. Is it the base or
derived class?
The instantiation code line that you used might shed more light on this.
Speculating (I don't have Sun CC), could it be that you wrote
MYDERIVEDCLASS< MYBASECLASS >< MyDerivedSolver >
instead of
MYDERIVEDCLASS< MYBASECLASS< MyDerivedSolver > >
?
Rainer