Jim Jagielski wrote:
>
> Aris Stathakis wrote:
> >
> > Compiles and runs OK on SCO UnixWare 7 using SCO's compiler. Got the following
>warnings on compile:
> >
> > ===> src/modules/standard
> > cc -c -I../../os/unix -I../../include -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT
>-I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_include.c
> > UX:acomp: WARNING: "mod_include.c", line 1545: end-of-loop code not reached
> > UX:acomp: WARNING: "mod_include.c", line 1669: end-of-loop code not reached
>
> Fixed.
>
> > ===> src/support
> > cc -c -I../os/unix -I../include -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT
>-I../lib/expat-lite -DNO_DL_NEEDED `../apaci` ab.c
> > UX:acomp: WARNING: "/usr/include/sys/ioctl.h", line 57: macro redefined: ECHO
> > UX:acomp: WARNING: "/usr/include/sys/ioctl.h", line 92: macro redefined: TOSTOP
> > UX:acomp: WARNING: "/usr/include/sys/ioctl.h", line 101: macro redefined: NOFLSH
> >
>
> Now this is weird... I'm not seeing anyplace in the code where we're
> mucking around with these. I'm thinking maybe someplace in the
> header files that ab.c uses, on your platform, is where the
> pre-definition and re-definitions are happening... Any setting for
> the SCO compiler that allows it to say where the previous definition
> was defined (ala gcc) ??
Mhh, dunno - i'm not a programmer ;-)
Check http://uw7doc.sco.com/cgi-bin/man/man?cc+1 and tell me what to try
- otherwise i'll just compile it with gcc.
Aris