Re: Art Kagel 'dostats.ec' - compiling on HP-UX
Posted in 1999
Try the switch: -Aa allen Adam Bradley wrote: > > Hi all, > > I was wondering if somebody might be able to help me.......I have extracted > Art Kagel's 'dostats.ec' utility from 'utils2_ak' but I am having trouble > compiling it. > > I am not a programmer myself so please forgive my naivety......... > > I am running IDS 7.31 on a HP-UX(Unix) Box - I know for a fact that we have > an ansi-c compiler installed. I have tried to compile 'dostats.ec' using > the following switches: > > esql -ansi -o dostats dostats.ec > > esql -o dostats dostats.ec > > .....but both give me the same result,namely: > > esqlc: "dostats.ec", line 1337: Warning -33036: This line does not conform > to AN > SI X3.135-1989. > 35 warning(s) > cc: "/home/kenny/informix.731/incl/esql/locator.h", line 111: error 1705: > Functi > on prototypes are an ANSI feature. > cc: "/home/kenny/informix.731/incl/esql/locator.h", line 113: error 1705: > Functi > on prototypes are an ANSI feature. > cc: "/home/kenny/informix.731/incl/esql/locator.h", line 115: error 1705: > Functi > on prototypes are an ANSI feature. > cc: "/home/kenny/informix.731/incl/esql/locator.h", line 117: error 1705: > Functi > on prototypes are an ANSI feature. > cc: "dostats.ec", line 214: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 215: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 216: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 217: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 218: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 220: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 238: error 1705: Function prototypes are an ANSI > feature. > cc: "dostats.ec", line 1426: error 1705: Function prototypes are an ANSI > feature