Re: ext/pgsql build broken on win32 (HEAD)

From: Date: Sat, 20 Apr 2002 02:36:38 +0000
Subject: Re: ext/pgsql build broken on win32 (HEAD)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83053@lists.php.net to get a copy of this message
Edin Kadribasic wrote:
The following patch solves problems with win32 build. I don't know what it breaks :)
I need to export PHPAPI function. Removing PHPAPI disables exports under windows... It's not a big deal now, though. We need other solution.
Btw. vc++ 6.0 spits out these warnings: c:\php4build\HEAD\ext\pgsql\pgsql.c(1073) : warning C4018: '==' : signed/unsigned mismatch c:\php4build\HEAD\ext\pgsql\pgsql.c(3196) : warning C4244: '=' : conversion from 'double ' to 'long ', possible loss of data c:\php4build\HEAD\ext\pgsql\pgsql.c(3761) : warning C4005: 'MAX_LENGTH_OF_LONG' : macro redefinition
        ..\..\Zend\zend_operators.h(36) : see previous definition of
'MAX_LENGTH_OF_LONG' c:\php4build\HEAD\ext\pgsql\pgsql.c(3762) : warning C4005: 'MAX_LENGTH_OF_DOUBLE' : macro redefinition
        ..\..\Zend\zend_operators.h(37) : see previous definition of
'MAX_LENGTH_OF_DOUBLE' c:\php4build\HEAD\ext\pgsql\pgsql.c(4525) : warning C4018: '<' : signed/unsigned mismatch
Thank you. These warnings helped me to fix 2 bugs :) -- Yasuo Ohgaki

« previous php.dev (#83053) next »