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
Similar Messages
-
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 -
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
PrashanthMake sure when you compile, you give the option -library=rwtools7 -library=iostream and that the roguewave library has been installed on your workstation.
-
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
AnnieWorkshop 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 -
Hi, When im giving a default value to a date column in the attribute settings i get this error when im running my jsp page (bc4j web application):
Error Message: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value: 31-dic-2099
How can i fix that? I�ve already trying all possible date formats.
ThankuThe default format for Date (oracle.sql.DATE which is the superclass of oracle.jbo.domain.Date) is yyyy-mm-dd.
-
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
-riajJust remove keyword 'class'.
-
Class name cannot be resolved to a type
Dear All,
I have one main class calling another class but I keep getting this error "
SMSClient cannot be resolved to a type". Before this I tried on other pc it was ok. Below is part of the codes. What could have been wrong? Can it be a missing library but how to trace that?
public class callSMSClient{ public static void main(String[] args) {
SMSClient t1 = new SMSClient(0);
t1.sendMessage("+6065544223","testing one two"); }}public class callSMSClient
public static void main(String[] args)
SMSClient t1 = new SMSClient(0);
t1.sendMessage("+6065544223","testing one two");
public class SMSClient implements Runnable{
public final static int SYNCHRONOUS=0;
public final static int ASYNCHRONOUS=1;
private Thread myThread=null;
private int mode=-1;
private String recipient=null;
private String message=null;
public int status=-1;
public long messageNo=-1;
public SMSClient(int mode) {
this.mode=mode;
public int sendMessage (String recipient, String message)
this.recipient=recipient;
this.message=message;
myThread = new Thread(this);
myThread.start();
// run();
return status;
public void run()
Sender aSender = new Sender(recipient,message);
try{
//send message
aSender.send ();
// System.out.println("sending ... ");
//in SYNCHRONOUS mode wait for return : 0 for OK, -2 for timeout, -1 for other errors
if (mode==SYNCHRONOUS)
while (aSender.status == -1)
{ myThread.sleep (1000);
if (aSender.status == 0)
messageNo=aSender.messageNo ;
catch (Exception e)
{ e.printStackTrace();
this.status=aSender.status ;
aSender=null;
}public class SMSClient implements Runnable{
public final static int SYNCHRONOUS=0;
public final static int ASYNCHRONOUS=1;
private Thread myThread=null;
private int mode=-1;
private String recipient=null;
private String message=null;
public int status=-1;
public long messageNo=-1;
public SMSClient(int mode) {
this.mode=mode;
public int sendMessage (String recipient, String message){
this.recipient=recipient;
this.message=message;
//System.out.println("recipient: " + recipient + " message: " + message);
myThread = new Thread(this);
myThread.start();
// run();
return status;
public void run(){
Sender aSender = new Sender(recipient,message);
try{
//send message
aSender.send ();
// System.out.println("sending ... ");
//in SYNCHRONOUS mode wait for return : 0 for OK, -2 for timeout, -1 for other errors
if (mode==SYNCHRONOUS) {
while (aSender.status == -1){
myThread.sleep (1000);
if (aSender.status == 0)
messageNo=aSender.messageNo ;
}catch (Exception e){
e.printStackTrace();
this.status=aSender.status ;
aSender=null;
}Dear Ejp,
I would like to first share a simple case here first. Below is the simplied codes. Here I dont need any import statement. I keep both this in the same directory. I am using this command to compile javac callSMSClient.java. Why even this simple case is not working?
public class callSMSClient{
public static void main(String[] args)
SMSClient t1 = new SMSClient(1);
t1.sendMessage("+6014466044","testing one two");
public class SMSClient {
private int mode=-1;
private String recipient=null;
private String message=null;
public SMSClient(int mode) {
this.mode=mode;
public void sendMessage (String recipient, String message){
this.recipient=recipient;
this.message=message;
System.out.println("recipient: " + recipient + " message: " + message);
} -
OBDC Data Source Error - Data source name not found and no default driver specified
Hello,
I get this error whenever I try to use the "Modify Microsoft Access Database" tab to update my
Access 2000 database after a conversion:
Unable to connect to target database.
java.sql.SQLException: [Microsoft] [ODBC Driver Manager]
Data source name not found and no default driver specified
Now, the weird thing is that when I log in as Administrator and go to the "Control Panel" there is
no "ODBC Data Sources" option to chose from. So I went to the "Microsoft ODBC Administrator"
from the "Configuration and Migration Tools" tab instead. I tried configuring "omwb_msaccess"
under the "User DSN" tab with both the name of my Access file, and the "small.mdb" file that was
in the omb directory. No go for either one. Whatever I try I still get the same pop-up box.
Question:
(1) What should I be putting for the "ODBC Data Source" when I try to Migrate my Access Database?
(2) Any other idea/configuration issue I might be missing that could do this? The process works up
to the Access Update point, and I configured the repository correctly.
Thanks
Aaron - [email protected]Nope, I'd already tried both of those things. I checked again, but no go.
I think the problem may be that I'm not entering the right value in the
"ODBC Data Source" field on the Migration Workbench "Modify Microsoft
Access Database" form - the same one where you enter a "Username" and
"Password" for the conversion. What should I be entering here? What is
the standard filename?
The log files aren't very informative to me. Here is the odbcconf.log:
==============
ODBCConf called with arguments: '/S /Lv odbcconf.log /F C:\WINNT\System32\mdaccore.rsp'
Data Struct:
Reboot First : 0
Use Response File : 1
Response File : 'C:\WINNT\System32\mdaccore.rsp'
Erase Response File: 0
Silent : 1
Continue on Error : 0
Log Mode : 2
Log File : 'odbcconf.log'
Actions:
8, '(null)', '(null)', ''
6, 'MS Code Page Translator|Translator=MSCPXL32.dll||', '(null)', '"MS Code Page Translator|Translator=MSCPXL32.dll||"'
5, 'Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||', '(null)', '"Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||"'
1, 'Microsoft ODBC for Oracle', 'CPTimeout=60', '"Microsoft ODBC for Oracle" "CPTimeout=60"'
17, 'simpdata.tlb', '(null)', '"simpdata.tlb"'
EXECUTING ACTIONS
Executing Action: INSTALLDRVRMGR
arg1: '(null)'
arg2: '(null)'
args: ''
Install Driver Manager succeeded
Return HR: 0x0
Executing Action: INSTALLTRANSLATOR
arg1: 'MS Code Page Translator|Translator=MSCPXL32.dll||'
arg2: '(null)'
args: '"MS Code Page Translator|Translator=MSCPXL32.dll||"'
INSTALLTRANSLATOR SQLInstallTranslatorEx succeeded
Return HR: 0x0
Executing Action: INSTALLDRIVER
arg1: 'Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||'
arg2: '(null)'
args: '"Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||"'
INSTALLDRIVER SQLInstallDriverEx succeeded
Return HR: 0x0
Executing Action: CONFIGDRIVER
arg1: 'Microsoft ODBC for Oracle'
arg2: 'CPTimeout=60'
args: '"Microsoft ODBC for Oracle" "CPTimeout=60"'
CONFIGDRIVER SQLConfigDriver succeeded
Return HR: 0x0
Executing Action: REGTYPELIB
arg1: 'simpdata.tlb'
arg2: '(null)'
args: '"simpdata.tlb"'
Return HR: 0x0
===========
Here is a snippet from the error.log:
==========
** Oracle Migration Workbench
** Release 9.2.0.1.0 Production
** ( Build 20020308 )
** ORACLE_HOME: c:\
** user language: en
** user region: US
** user timezone: PST
** file encoding: Cp1252
** java version: 1.1.8.16
** java vendor: Oracle Corporation
** o.s. arch: x86
** o.s. name: Windows NT
** o.s. version: 5.0
** Classpath:
c:\\Omwb\olite\Oljdk11.jar;c:\\Omwb\olite\Olite40.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;c:\\Omwb\jlib;c:\\Omwb\jlib\Omwb.jar;c:\\Omwb\jlib\oembase-9_2_0.jar;c:\\Omwb\plugins\SQLServer6.jar;c:\\Omwb\plugins\SQLServer7.jar;c:\\Omwb\plugins\SQLServer2K.jar;c:\\Omwb\plugins\Sybase11.jar;c:\\Omwb\plugins\Sybase12.jar;c:\\Omwb\plugins\MSAccess.jar;c:\\Omwb\plugins\MySQL.jar;c:\\Omwb\drivers\mm.mysql.jdbc-1.2a;c:\\Omwb\plugins\Informix7.jar;c:\\Omwb\drivers\ifxjdbc.jar;c:\\Omwb\plugins\db2400v4r5.jar;c:\\Omwb\drivers\jt400.jar;c:\\lib\xmlparserv2.jar;c:\\rdbms\jlib\xsu111.jar;c:\\jdbc\lib\classes111.zip;c:\\lib\vbjorb.jar;c:\\jlib\netcfg.jar;c:\\jlib\ewt3.jar;c:\\jlib\ewtcompat-3_3_15.jar;c:\\jlib\share.jar;c:\\jlib\help3.jar;c:\\jlib\oracle_ice5.jar;c:\\jlib\kodiak.jar
** Started : Tue Jul 23 12:13:42 PDT 2002
** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
** The following plugins are installed:
** Microsoft Access Release 9.2.0.1.0 Production
** Active Plugin : MSAccess
** Shutdown : Tue Jul 23 12:14:59 PDT 2002
I appreciate any assistance you could render me.
Thanks - Aaron -
Infa Error: Data source name not found and no default driver specified
All,
Infa version 8.1, DAC 795. Plain vannila installation with SQL server. Both client and server installed in same machine.
DAC connectivity both with infa and oltp working fine. When ETL is run, Informatica session logs are giving following error:
ERROR 10/2/2008 3:49:01 PM node01_PPMBIDEV1 MAPPING CMN_1022 Database driver error...
CMN_1022 [
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Database driver error...
Function Name: Connect
Database driver error...
Function Name: Connect
Database Error: Failed to connect to database using user [MDVYAS] and connection string [PPMCRMDEV1@OracleBI_Warehouse].]
Any pointers appreciatedHi,
Did you follow step 4.13.2 - 'Configuring Relational Connections in Informatica PowerCenter Workflow Manager' of the installation and configuration guide?
Manoj. -
Error of ZCQC TAN cannot be invoiced with billing type ZCQB
Hi Experts,
While creating billing document thru Sales Order (Compounding Re-Order type), an error "Item category ZCQC TAN cannot be invoiced with billing type ZCQB" is coming.
Please provide guidance to resolve error.Hi PARIKH NIKHIL
Maintain the copy controls in VTFA -(Order Related Billing)
--Select your Billing document & Sales order Document
--In header
Copying requirement- *001*
Reference number-- E
Check mark copy item number
Save It
--Check in VOV7 select your item category & check billing reference should be B (Order Related Billing)
--Raise Billing in VF01 with reference to order number
Let me know if your problem is solved
Regards
Pradeep -
Error: Object Name cannot be Empty, when loading Master Data
Hi all,
We are loading mater data for one of the InfoObject, which is failing at Processing Step. Data is loaded properly till PSA. There is short dump error giving MESSAGE_TYPE_X error. On analyzing Job Log, We found the error like, "OBJECT NAME CANNOT BE EMPTY".
We checked InfoObject and found that, One of its attribute is inactive. Can it be the cause of error? Please Reply soon.
Thanks,
HarpalIt must be the cause of error. Please activate all inactive attributes and load the data again.
Regards
Pankaj -
HI Every one.
This is prasad working on sap xmii with sql server 2005.I am having problems to add or update the table using query templates.When i am updating a table with data I am getting the sql error as server name cannot be blank.It is working fine in Sap Xmii11.5 but in Sap Xmii 12.0 iam getting this error.Can any help on this issue.
Thanks,
Prasad.Server name cannot be blank errors mean that you are either referencing a display template or a query template that does not have a server property saved in it such as:
/XMII/Illuminator?QueryTemplate=Defaults/TagQuery
/XMII/Illuminator?QueryTemplate=Defaults/iChart
Double check the path to your template and confirm that it's a valid query template including a Data Server. -
MyClass cannot be resolved to a type
am looking to call a java class from within a servlet but am having this error on compilation: "MyClass" cannot be resolved to a type.
my code look like follows showing the file path where am using eclipse :
<eclipse>/workspace/MyApp/src/pal/MyClass.java
package pal;
public class MyClass
public MyClass()
}<eclipse>/workspace/MyApp/src/pal/MyServlet.java
package pal;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class MyServlet extends HttpServlet
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
new MyClass();
}what did i miss?Personally I dislike Netbeans, I found it to be ugly, non-intuitive and buggy. I already threw it away from my system after only 5 mins of testing. It's only good for ones who are really, really new to Java and by a coincidence got Netbeans in the JDK pack, and/or followed the Sun tutorials wherein Netbeans is pushed up, and/or still know nothing about the existence of other IDE's and what they all provides.
-
Data source name not found and no default driver specified.
Hi all,
I am using Microsoft Accessas as backn'd. when I am starting my Presentation Services I am getting this error> Data source name not found and no default driver specified.Your presentation services configuration file
$SADATADIR/web/config/instanceconfig.xml
contains an entry DSN which is the connection to the bi server
then inside your RPD(s) loaded by the bi server
you will have various connection pools in the physical layer
which connect to physical data sources such as MS Access
you can test a physical database connection
by right clicking a physical table
then "View Data" or "Update Row Count" -
3GS 3.0.1 - Cannot send mail, You did not specify any recipient
Whenever I send a message from iPhone with MobileMe account and then resync the account with server (Push is off), the very same message, already sent with success, appears in Outgoing folder and error pops up saying:
*Cannot send mail, You did not specify any recipient*
See the picture below:
http://gitarzysta.com/iphone/error1.jpg
It cannot be deleted, either - error message pops up saying: *Unable to move message*
http://gitarzysta.com/iphone/error2.jpg
Important: it was sent and received successfully. It is just either iPhone, MobileMe or both that have problems to sync correctly.
On my Mac that I sync with this MobileMe account all is fine.
What can be wrong? There was an old topic here, from 2008, where several users of 3G had exactly the same issue, but no root cause or solution was provided.
Thanks!
Message was edited by: gitarzystaTry deleting and manually recreating the account on your iPhone.
If you transferred the account settings from your Mac via the iTunes sync process - selected under the Info tab for your iPhone sync preferences with iTunes, deselect this for your iPhone sync preferences followed by selecting Apply before doing so.
Maybe you are looking for
-
My iPod touch won't show up in iTunes, but charges and shows up on different computers.
My iPod touch 5th gen last was synced with my iMac a couple weeks ago. Now when I plug it into iTunes, it won't show up. It's done this before and I've fixed it by updating iTunes, restarting the iPod/computer etc, but it seems I've tried everything.
-
Best practices for using AUTOARCHIVING in Exchange 2010
Hi guys! Exchange 2010 SP3 environment. We have 150 users. We bought two 2TB in RAID1 disk and they Will be used for Autoarchive DB's. We have currently about 10 Production DB's named by department. We have created 10 Archive DB's named by department
-
What kind of cable for my macbook pro, do I use to watch movies on my 60 inch tv ?
-
Hi, System should not allow unrelease of PO by 1st level rel. code before unrelease by 2nd level. but it is still allowing even though 2nd level not unrelease it. PO should be unrelease in same reverse order as during release. Please give solution fo
-
HT5569 Wont alow me to turn wi fi on
Wont allow me to turn wifi on