Pro*C Problem
From: Abraham Vadillo Nah <avadillo_at_academ07.mty.itesm.mx>
Date: 1996/09/02
Message-ID: <50fbb2$m4p_at_news.mty.itesm.mx>#1/1
static char cext[20]="";
static char newfile[30]="";
static char *outputfile;
static CHAR255 printcom="";
exec oracle endif;
Date: 1996/09/02
Message-ID: <50fbb2$m4p_at_news.mty.itesm.mx>#1/1
Hi ... :)
I need to compile this code:
exec oracle ifndef NO_SLEEPING_SW;
static int done_sleeping=1;
static CHAR2 abnormalexit="Y";
static int runsw; static int nextsw; static int session_id; static int fileext=0;
static char cext[20]="";
static char newfile[30]="";
static char *outputfile;
static CHAR255 printcom="";
exec oracle endif;
I've compiled this in Pro*C 1.6 and it works fine, but when i try to compile it on Pro*C 2.1.3.0.0 it says:
Syntax error at line 7, column 10, file /u03/banner/general/c/guaslp1.c:
static int done_sleeping=1;
.........1
(1) PCC-S-02201, Encountered the symbol "int" when expecting one of the followi:
; , = : ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>=
&&= ||= ^= | & == != <= >= << >> ++ -- ->
Could you tell me what's the problem here ? :(
Abraham Vadillo Received on Mon Sep 02 1996 - 00:00:00 CEST