Re: php + cygwin - some more

From: Date: Sun, 03 Mar 2002 18:58:58 +0000
Subject: Re: php + cygwin - some more
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80650@lists.php.net to get a copy of this message
MB>> datetime.c: In function `php_mktime': MB>> datetime.c:187: wrong type argument to unary minus MB>> gmadjust = -(is_dst ? (int)timezone - 3600 : (int)timezone); MB>> see (int) conversion of timezone -> gmadjust has type int MB>> MB>> datetime.c: In function `php_date': MB>> datetime.c:254: warning: assignment makes integer from pointer without a cast MB>> tzone = (long)timezone; MB>> see (long) conversion of timezone -> tzone has type long MB>> MB>> >>>> i think we can commit this to cvs anyone against? <<<< That's the same issue - timezone is a function in cygwin, and the thing that is meant here is _timezone. However, I don't know how to express this in ifdef-HAVE_THIS_AND_THAT terms. Anyone? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#80650) next »