Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <00fc01c0f602$f1300f00$0200a8c0@swan.atu.com.au>
From: "=?iso-8859-1?Q?...2=AB...?=" <swan@atu.com.au>
To: "Gerrit P. Haase" <gp@familiehaase.de>,
        "Julia A. Case" <julie@MageNet.com>, <cygwin@cygwin.com>
References: <3B2AA478.18778.A50A430@localhost>
Subject: Re: compiling php for cygwin
Date: Sat, 16 Jun 2001 11:23:24 +1000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

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

