|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
MAXDB C precompiler issues !!!
From: Rami AL-SAHHAR (rami.sahhar
its.ws)
Date: Wed Feb 08 2006 - 03:35:08 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear Sir,
We are trying to build one prototype as POC to convert our core existing
Oracle Pro*C programs to MAXDB using cpc pre-compiler.
I found that it works fine with the pre-compiler option -E cplus , however
since we have C programs , I used -E ansi , but the following errors
occurred during the compilation.
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) : error
C2485: 'uuid' : unrecognized extended attribute
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(60) : error
C2059: syntax error : '('
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(62) : error
C2485: 'uuid' : unrecognized extended attribute
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(62) : error
C2059: syntax error : '('
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(64) : error
C2485: 'uuid' : unrecognized extended attribute
c:\program files\sdb\programs\sdk\7500\incl\livecachetypes.h(64) : error
C2059: syntax error : '('
it does not accept the marco defined in livecachetypes.h , and when I remove
it , it works but it generates other chunk of errors .
typedef /* [helpstring][uuid] */
DECLSPEC_UUID("00489FD1-87B7-11d4-B2E4-0050DAE0298C") unsigned short
DbpTypeUnicode;
typedef /* [helpstring][uuid] */
DECLSPEC_UUID("A6DE9A83-6173-11d1-A943-00A0C94311A5") unsigned char
OmsTypeChar;
typedef /* [helpstring][uuid] */
DECLSPEC_UUID("A6DE9A85-6173-11d1-A943-00A0C94311A5") unsigned char
OmsTypeByte;
Please tell me if this is normal ? Does it support ANSI C on MS Visual
Studio? Any idea/work around ?
This is how I compiled : cpc -S oracle -H nocheck -o -c -u dbadmin,rami123
-d maxdb1 %1%
Appreciate your quick response
Thanks
Rami
I
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]