Error: Illegal syntax for elaborated type specifier

Hi ,

I am using Solaris 8 with SunStudio8 C++ 5.5 compiler

I have defined following lines in my header file msgg.h

typedef class DIMessageStringBase<char> DIMessageString;

typedef class DIMessageStringBase<UChar> DIMessageStringU;

On compilation I am getting folowing error in above header file

"msg.h":Error: Illegal syntax for elaborated type specifier

-riaj

[423 byte] By [koresha@123] at [2007-11-26 8:56:33]
# 1
Just remove keyword 'class'.
Atanasyan at 2007-7-6 22:55:42 > top of Java-index,Development Tools,Solaris and Linux Development Tools...