delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/15/21:25:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00fc01c0f602$f1300f00$0200a8c0@swan.atu.com.au>
From: "=?iso-8859-1?Q?...2=AB...?=" <swan AT atu DOT com DOT au>
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>,
"Julia A. Case" <julie AT MageNet DOT com>, <cygwin AT cygwin DOT com>
References: <3B2AA478 DOT 18778 DOT A50A430 AT localhost>
Subject: Re: compiling php for cygwin
Date: Sat, 16 Jun 2001 11:23:24 +1000
MIME-Version: 1.0
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 AT familiehaase DOT de>
To: "Julia A. Case" <julie AT MageNet DOT com>; <cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019