Dear Sir,

 

The list server filters the attatchments, so could you please send the
HelloWorld example within the e-mail body? 

Did you try to precompile the program without the -c option? In this
case an object file is generated by cpc and the correct include paths
for compiling are used.

 

Best regards,

 

Thomas Simenec

SAP Labs Berlin

 

________________________________

From: Rami AL-SAHHAR [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 8. Februar 2006 14:27
To: maxdb@lists.mysql.com
Subject: MAXDB C pre-compie problem
Importance: High

 

Dear Sir,

 

I tried to compile a HelloWorld example (attached) using the 'cpc'
pre-compiler  

 

cpc  -E cansi  -H nocheck -o -c -u dbadmin,rami123 -d maxdb1
HelloUnicodeDB

 

and it generated the .c file successfully , however , the c file does
not compile and gives the following error:

 

"c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) :
error C2485: 'uuid' : unrecognized extended attribute"

 

It seems that it does not accept the marco defined in livecachetypes.h
"DECLSPEC_UUID" , and when I removed it , it worked

 

typedef /* [helpstring][uuid] */
DECLSPEC_UUID("00489FD1-87B7-11d4-B2E4-0050DAE0298C") unsigned short
DbpTypeUnicode;

 

 

Now , I need to know , Is what I did correct ? or I have some
configuration problem ? , by the way , when I compile using -E cplus for
C++ , it works fine without removing this macro.

 

Also , I noticed a crash when I compiled the above hello world example
using Oracle SQL_MODE '-S oracle'.

 

My final scenario to processed in the POC (Prove Of Concept) for our
programs is Oracle Embedded SQL Statements with ANSI C. Is there any
restrictions/limitations?

 

Appreciate your quick response

Thanks

Rami ALSAHHAR

International Turnkey Systems,(ITS)

www.its.ws <http://www.its.ws/> 

 

 

Reply via email to