Hi Rami, Are you sure that you have included the C precompiler header file cpc.h into your CPC source code? This header contains defines for VARCHS and others.
Regards, Thomas Simenec SAP Labs Berlin -----Original Message----- From: Rami AL-SAHHAR [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 8. Februar 2006 21:35 To: maxdb@lists.mysql.com Subject: Oracle VARCHAR datatype is replaced by MAXDB VARCHS datatype Importance: High Dear Sir, I wonder why the 'cpc' pre-compiler has replaced all VARCHAR data types with VARCHS which is not accepted by the Microsoft C Compiler. I checked the documentation of the pre-compiler , but the data type VARCHS is mentioned at all. I need to compile the generated C code using Microsoft C compiler , but it gives the below error : Code : VARCHS(10)B_Cdr_Scenario; Error : c:\srcnsk\readgss\medlib.c(4436) : error C2143: syntax error : missing ';' before '<class-head>' Compilation parameters : cpc -E cansi -S oracle -H nocheck -c -o -u dbadmin,rami123 -d maxdb1 medlib Orignal code ( C with embedded Oracle SQL statement ) : VARCHAR B_Cdr_Scenario[10]; How can I resolve this error ? Appreciate your quick response. Thanks Rami -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]