compiling php for cygwin

...2«... swan@atu.com.au
Fri Jun 15 18:23:00 GMT 2001


from memory explicit casting was needed..
i dont know why.. but it worked for me
try and cast where shady with (int),
eg. -abs(int) -> -(int)abs(int)

dan

----- Original Message -----
From: "Gerrit P. Haase" <gp@familiehaase.de>
To: "Julia A. Case" <julie@MageNet.com>; <cygwin@cygwin.com>
Sent: Saturday, June 16, 2001 8:12 AM
Subject: Re: compiling php for cygwin


> Julia A. Case schrieb am 2001-06-15, 12:40:
>
> Look:
> http://www.cygwin.com/ml/cygwin/1998-11/msg00162.html
>
> > both php-4.0.4pl1 and php-4.0.5 get the following compile errors
> >
> > datetime.c: In function `php_mktime':
> > datetime.c:186: wrong type argument to unary minus
> > datetime.c: In function `php_date':
> > datetime.c:436: invalid operands to binary /
> > datetime.c:436: invalid operands to binary %
> > datetime.c:444: wrong type argument to unary minus
> > datetime.c:444: wrong type argument to unary minus
> > datetime.c:497: invalid operands to binary /
> > datetime.c:498: invalid operands to binary %
> > make[3]: *** [datetime.lo] Error 1
> >
> > Any help would be appreciated...  btw I'm trying to compile as an
executable not an
> > apache DSO module
> >
> > Julia
> >
> > --
> > [  Julia Anne Case  ] [        Ships are safe inside the harbor,       ]
> > [Programmer at large] [      but is that what ships are really for.    ]
> > [   Admining Linux  ] [           To thine own self be true.           ]
> > [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
> >
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >
> >
>
>
>
> --
> =^..^=
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list