At 23:43 01.04.97 +1000, you wrote: > >1.0.6 : Tue Apr 1 23:36:49 EST 1997 /* no joke :) */ > > * port: snprintf/vsnprintf functions in > libproff for systems that didn't have it. cannot compile. gcc is 2.7.2.2, HP-UX is 9.07 regards
gcc -O2 -Wall -pipe -I. -I.. -c vsnprintf.c vsnprintf.c:54: parse error before `int' vsnprintf.c:57: conflicting types for `end' vsnprintf.c:52: previous declaration of `end' vsnprintf.c:57: `str' undeclared here (not in a function) vsnprintf.c:57: `count' undeclared here (not in a function) vsnprintf.c:57: initializer element is not constant vsnprintf.c:57: warning: data definition has no type or storage class vsnprintf.c:58: conflicting declarations of `SnprfOverflow' vsnprintf.c:53: `SnprfOverflow' previously declared here vsnprintf.c:58: warning: data definition has no type or storage class vsnprintf.c:59: warning: parameter names (without types) in function declaration vsnprintf.c:59: conflicting types for `dopr' vsnprintf.c:51: previous declaration of `dopr' vsnprintf.c:59: warning: data definition has no type or storage class vsnprintf.c:60: parse error before `if' vsnprintf.c:82: conflicting types for `dopr' vsnprintf.c:59: previous declaration of `dopr' vsnprintf.c: In function `dopr': vsnprintf.c:84: parse error before `va_list' vsnprintf.c:121: warning: implicit declaration of function `va_arg' vsnprintf.c:121: parse error before `int' vsnprintf.c:130: parse error before `long' vsnprintf.c:132: parse error before `int' vsnprintf.c:138: parse error before `long' vsnprintf.c:140: parse error before `int' vsnprintf.c:145: parse error before `long' vsnprintf.c:147: parse error before `int' vsnprintf.c:152: parse error before `long' vsnprintf.c:154: parse error before `int' vsnprintf.c:159: parse error before `long' vsnprintf.c:161: parse error before `int' vsnprintf.c:165: parse error before `char' vsnprintf.c:173: parse error before `int' vsnprintf.c:87: warning: `value' might be used uninitialized in this function vsnprintf.c:91: warning: `strvalue' might be used uninitialized in this function vsnprintf.c: In function `dopr_outch': vsnprintf.c:298: warning: comparison between pointer and integer vsnprintf.c: At top level: vsnprintf.c:82: warning: `dopr' defined but not used
Christian Krackowizer | email: kra1@technodat.co.at TECHNODAT CAD/CAM - Systeme fuer Moebel GmbH | Phone: +43 - (0)662-454944-0 Jakob-Haringer-Strasse 6 | FAX: +43 - (0)662-454944-9 A-5020 Salzburg | Compuserve: 74343,2225 AUSTRIA