Re: cvs: php-src /main php_streams.h /main/streams streams.c
| From: | Arnaud Le Blanc | Date: | Tue, 19 May 2009 10:08:35 +0000 |
| Subject: | Re: cvs: php-src /main php_streams.h /main/streams streams.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-57984@lists.php.net to get a copy of this message | ||
On Tue, 2009-05-19 at 11:24 +0200, Kalle Sommer Nielsen wrote:
> 2009/5/17 Arnaud Le Blanc <lbarnaud@php.net>:
> > lbarnaud Sun May 17 16:52:35 2009 UTC
> >
> > Modified files:
> > /php-src/main php_streams.h
> > /php-src/main/streams streams.c
> > Log:
> > un-duplicated code (merged unicode/string variants of stream_copy_to_stream
> > and let the compiler optimize specializations)
> >
>
> main\streams\streams.c(517) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(684) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(699) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(703) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(703) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(765) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(779) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(783) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(783) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(1039) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(1043) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(1043) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(1204) : warning C4047: 'function' : 'int32_t'
> differs in levels of indirection from 'UChar *'
> main\streams\streams.c(1204) : warning C4024: 'u_strFindFirst_3_8' :
> different types for formal and actual parameter 2
> main\streams\streams.c(1232) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(1232) : warning C4018: '<' : signed/unsigned mismatch
> main\streams\streams.c(1753) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(1758) : warning C4018: '>' : signed/unsigned mismatch
> main\streams\streams.c(1860) : error C2036: 'void *' : unknown size
> NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\cl.exe"' : return code '0x2'
> Stop.
>
> Doesn't build, plus it added a million new warnings
>
Sorry, fixed the error.
However it does not seems that these warnings are due to this change.
Regards,
Arnaud