|
-
July 14th, 2005, 03:19 AM
#1
Roguewave
Gurus,
I am using Roguewave libraries in my Application. While compiling one of the component I am getting following error
"/export/home/3rdparty/roguewave/workspaces/SOLARIS/SUNPRO/rw/defs.h", line 554: Error: A typedef name cannot be used in an elaborated type specifier..
While trying to fix the same, i found one link which can be interpreats as "error may occured if Roguewave libraries are shipped with Sun Compiler".
More information :
Compiler : SUN Studio 10 C++
OS : 2.8
Appriciate the inputs on this.
-PiyuNewe
-
July 14th, 2005, 05:28 AM
#2
Re: Roguewave
The error is probably in your code, and you probably tried a template typedef, which should be allowed in C++ but is not. Herb Sutter supports the use of them and so they'll probably be in the next standard, and then after a while there will be compilers that are up to date and suppor them.
In the meantime you can't use them. If you really have to, use a macro, thus
#define MySpecialisedTemplate(T) templateWithLotsOfParameters<T, A, B, C >
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|