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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to