CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Roguewave

  1. #1
    Join Date
    Jun 2003
    Location
    India
    Posts
    118

    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

  2. #2
    Join Date
    Oct 2000
    Location
    London, England
    Posts
    4,773

    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
  •  





Click Here to Expand Forum to Full Width

Featured