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

Just remove keyword 'class'.

Similar Messages

  • Error:A typedef name cannot beused in an elaborated type specifier.. (2.8)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and was able to compile the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]

    Further to the posting,I find that the error arises in the following lines of the header files-
    #ifndef RW_NO_IOSTD
    #include <iosfwd>
    #else
    class _RWCLASSTYPE istream;
    class _RWCLASSTYPE ostream;
    class _RWCLASSTYPE ios;
    #endif

  • Error:A typedef name cannot beused in an elaborated type specifier(C++5.0)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and compiling the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]

    Workshop 5.0 is EOLed. Please try the current version 'Sun One Studio 7, Compiler Collection'(http://wwws.sun.com/software/sundev/suncc/index.html) or 'Sun One Studio 7, Enterprise Edition'(http://wwws.sun.com/software/sundev/solde/index.html)
    - Rose

  • Defs.h:a typedef name cannot be used in an elaborated type specifier

    Hi,
    I recently migrated from Workshop C++ 4.2 (Solaris 2.6) to C++5.0
    When I recompiled all my programs, I get these errors in the header files :
    "/opt/SUNWspro/SC5.0/include/CCios/stdiostream.h", line 29: Error: streamoff is
    not defined.
    "/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name
    cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name
    cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name
    cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/SC5.0/include/CC/rw7/rw/stringid.h", line 50: Error: A typedef na
    me cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/SC5.0/include/CC/rw7/rw/stringid.h", line 51: Error: A typedef na
    me cannot be used in an elaborated type specifier..
    I've installed the following patches (107311-19, 107390-19, 107357-11) and compiled with the -library=rwtools7,iostream options.
    It still doesn't work and I can't figure out why...
    Any help would be appreciated.
    Thanks
    Annie

    Workshop 5.0 is EOLed. Please try the current version 'Sun One Studio 7, Compiler Collection'(http://wwws.sun.com/software/sundev/suncc/index.html) or 'Sun One Studio 7, Enterprise Edition'(http://wwws.sun.com/software/sundev/solde/index.html)
    - Rose

  • A typedef name cannot beused inan elaborated type specifier(C++5.0 /sol2.8)

    I am developing a C++ application on Solaris platform . I am using the CC 4.2 compiler and able to compile the code on Solaris 2.6
    But I am getting the following error when compiling the same code on Solaris 2.8 using CC 5.0 Compiler
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/tsi/ae/tools/SPARCWORKS/5.0/sparc/s4_58/SUNWspro/SC5.0/include/CC/rw7/rw/defs.
    h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    Please let me know, if you have any idea towards the solution of this issue @ [email protected] or [email protected]
    Thanks
    Prashanth

    Make sure when you compile, you give the option -library=rwtools7 -library=iostream and that the roguewave library has been installed on your workstation.

  • Error during search for movement type (953)

    Hi All,
             When I'm trying to issue goods to an internal order, I get the below error
    Error during search for movement type (953)
    The explanation is as follows
    The movement type of the warehouse system and certain parameters are assigned to each movement type of the inventory management system
    In this case no movement type of the warehouse management system was assigned to the inventory management movement type used by the paramaters enclosed in parantheses in the eror message.
    Is there some config missing in this case?? Please let me know how to overcome this error
    Regards,
    Ashwin

    when you create new movement types in MM, then you certainly have to create WM movement types too, if you want use the new movement types to post at a warehouse managed storage location.
    This customizing needs to be done in IMG > LE > WM > Activities > transfers >  define movement types
    and
    IMG > LE > WM > interfaces > inventory management > define movement types

  • OMB05602: An unknown Deployment error has occured for Object Type Deploymen

    I was deploying a process_flow package here in named "PF_LOAD", then the following error occured.
    OMB05602: An unknown Deployment error has occured for Object Type DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for PF_LOAD.
    Does anyone know what this error means or what possibly caused it?
    So

    Hi David
    OWB version 10.2.0.3.0
    This is what I cought from the log when tried to deploy the process flow via OMB+
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS'
    Action plan DEPLOY_PLAN_PROCESS_FLOWS created.
    OMBALTER DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS' ADD ACTION 'PF_LOAD_PROCESS_FLOW_PACKAGE_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE 'PF_LOAD'
    Action plan DEPLOY_PLAN_PROCESS_FLOWS altered.
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS'
    OMB05602: An unknown Deployment error has occured for Object Type DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for PF_LOAD.
    When I viewed via the control center jobs detail window, it is not even logged there.
    Cheers
    So

  • Error :- No authorization for basic types (activity 01)

    Hi Experts,
    While trying something at the BW server i suddenly got the below error
    I am getting the error when i am accessing the T-CODE RSA1.
    Error :- You have no authorization for basic types (activity 01)
    I checked the ids of my colleagues all are getting the same messages...
    Regards,
    RG

    Hi,
    1. Check in SU53 tcode
    2. You are having RSECADMIN/PFCG tcode access?? If yes you can give authorisation for the same.
    3. You dont have S_RS_ADMWB  - authorisation
    4. for your user id give this above authorisation
    5. If you are unable to do the same, ask your basis team to give you the authorisation
    refer this link- 1.http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f3/291542e4b4df2ce10000000a1550b0/frameset.htm
    2.http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a4/1be541f321c717e10000000a155106/frameset.htm
    Edited by: Asish Sahu on Apr 28, 2009 10:34 AM

  • Error :- No authorization for basic types

    Hi Experts,
    While trying something at the BW server i suddenly got the below error
    I am getting the error when i am accessing the T-CODE RSA1.
    Error :- You have no authorization for basic types (activity 01)
    I checked the ids of my colleagues all are getting the same messages...
    Regards,
    RG

    Hi,
    analyze the missing authorization with transaction SU53 immediately when the error appeared.
    Ask your system/authorization administrator to grant you the missing authorization.
    Regards
    Rainer

  • Error : pricing structure for doc type

    hi gurus,]
    while creating document type"RAILWAY FREIGHT" i have got an error that "CHANGES IN THE PRICING STRUCTURE FOR THE DOCUMENT TYPE RAILWAY FREIGHT PO"

    Hi
    The statement doesnt look like an error, was it an information message?

  • Error while doing GR for mvt type: 501

    Hai
    Whenever i do a G.R with out P.O (mvt type 501) i encounter the following error
    "field selection for mvmt type 501 / acct 895000 differs for vendor goods movement (014)"
    How to fix this?
    Thanks

    Hi,
    Check the G/L account 895000 in t-code FS00, whether the G/L account's Field status group seems t0 be inconsistency in it.
    Goto FS00, put your G/L & company code, goto tab Credit/Bank/Interest- DOuble click on filed ststus group.
    Check filed selection there.
    Make it mandatory /suppress/optional for both as per the requriment..

  • "control data for storage type is missing"

    Hi Guys
    I am trying to create a goods receipt for an inbound delivery.
    I created the inbound delivery VL31N - sucessfully
    But when trying to create a putaway LT0F - error
    control data for storage type is missing. msg no. L3006
    Do i maiantain this control data for storage type in the Material master?
    is there anything Im doing wrong?
    Can someone help please.
    Thanks in advance for the help.
    Ahmad Yahya

    Hi,
    Check in SPRO > Logistics Execution > Warehouse Management > Master Data > Define storage type, here for your warehouse and storage type check stock placement and stcok removal control is configured.
    Regards,
    Prabu

  • Transfer Order : Data for storage type search is not defined (A   )

    Dear Experts ,
    While trying to use the Transfer Order and trying to determine the storage type this error appears :
    Data for storage type search is not defined (A   )
    Message no. L3007
    Diagnosis
    Information on the storage type search has not been defined.
    How ever , I have already configured the search and here is the Storage Type search's data in OMLY
    1. Warehouse number : W10
    2. Operation : A "Stock Removal"
    3. Indicator :   E
    4. Stock Category : Blank
    5. Special Stock Category : Blank
    6. Storage Location Ref :10
    7. Storage Type : 10E
    Please Advice
    Edited by: Sap Sap on Feb 24, 2011 10:54 AM

    Hello,
    The storage type in which you want to place the material or pick the material from has not been defined in the storage type search sequence.
    You need to define the search sequence in customization so that storage type is determined automatically when the transfer order is created;
    SPRO>>Logistics Execution>>Warehouse Management>>Strategies>>Activate Storage Type Search
    In this go to determine search sequence and then
    for warehouse number W10, operation as stock removal 'A' and in this maintained the relevant the storage type (10E) so that it is determined automatically.
    I hope this helps.
    BR,
    Tushar

  • Fld selection for mvmt type 511/ acct 520302 differes from Profit center Er

    Dear Gurus,
    I got error Fld selection for mvmt type 511/ acct 520302 differes from Profit center (042), since we have scrapped so many times with same GL, why this issue comes.
    if i do in OBC4>>>>Field status group>>>G018>>scrapping>>Additional acct assginment>>Profit center changer from suppress to opt entry. Is this error goes.
    But previous we have done scrapping, no issues, but currently happening
    Please advice me
    Thanks
    RS

    Hi,
    go to FS02 put the account 520302.then go to create/bank/interest tab .
    here double click on field status group. go into the additional accounting data here make profitcenter as optional if it is supress.
    OR
    goto SPRO >MM> Inventory mgm >movt types > select the 511 movement type.go to its field selection .
    here goto addinal accounting data and make profit cesnter as otional if it is supress
    regards,
    sujit

  • Fld selectn for mvmt type 543 / acct 6190030 differs for Asset retirement

    Dear All,
    I create a Subcontracting PO and issue goods to vender against that PO.
    Suppose i issue two materials with Qty 50 Each to vender.
    again Vender gave me back 10 Qty each becoze there is only 40 Qty is ussed for that material in subcontracting Scnerio.
    i take back that material to my inventory with movement type 542 against Sub PO.
    but again when i go to MIGO, then there is two problems
    1) System still show me BOM of 50 each but vender gave me back 10 each Qty.
    and i change that manually 40 Qty for Each.
    2) while Posting MIGO, system gave me this error 
    Fld selectn for mvmt type 543 / acct 6190030 differs for Asset retirement (016)
    please help me and give me direction if i have done any thing wrong.
    Regards,
    Pardeep malik

    Hi,
    Check the field status group in the create/bank/interest TAB of G/L Account 6190030
    in T.code: FS00.
    Also Use T.code: SE38 , Enter Program RM07CUFA
    Enter the Movement type 543 & enter G/L account 6190030
    Enter the company code
    Click on execute
    & update  & save.
    Now try ur transaction.
    Regards,
    Biju K

Maybe you are looking for

  • Issue running VGA TV with Macbook Pro

    Hi all, been a while since I've asked anything around here, hope I can get some help. I'm trying to connect my Macbook Pro (late 2011) to our Sony Bravia 40" LCD TV (model# KDL-40V5100 if its needed) through its "PC" (i.e. VGA) input. I got a Mini Di

  • EPS files placed in InDesign can't be saved in Photoshop until the ID document is saved

    Hi! I'm wondering if there's a way around this problem. When mounting an EPS images in InDesign that image can't be saved in Photoshop until the InDesign document has been saved. Is there a workaround for this problem? It doesn't happen with TIFF fil

  • Thunderbird fails to launch

    Attempting to launch thunderbird I receive the following error (process:7154): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed I have attempted to restart my computer, reinstall the program, and change the permission so I

  • Messenger and YouTube Applications!!

    I am trying to find somewhere to download Messenger and YouTube Apps for my N96, can anybody help? The phone came with vodafone messenger, which I removed but cannot find a version of msm to install. So the only way I can access is via the web option

  • Problem in run the Java ME application using jar file

    Hi all, I am using Eclipse 3.3 with CLDC and MIDP, I add external jar file for my application. The jar contains MIDlet and some classes. I create a class (not MIDlet) that have same package name and Class as in jar file. Say for example the jar file