Re: cvs: php-src / NEWS /ext/bz2 bz2.c /ext/curl streams.c /ext/standard file.c ftp_fopen_wrapper.c http_fopen_wrapper.c php_fopen_wrapper.c
/ext/zlib zlib_fopen_wrapper.c /main php_streams.h /main/streams plain_wrapper.c streams.c userspac
| From: | Sara Golemon | Date: | Sat, 13 Dec 2003 18:43:53 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/bz2 bz2.c /ext/curl streams.c /ext/standard file.c ftp_fopen_wrapper.c http_fopen_wrapper.c php_fopen_wrapper.c /ext/zlib zlib_fopen_wrapper.c /main php_streams.h /main/streams plain_wrapper.c streams.c userspac |
||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6423@lists.php.net to get a copy of this message | ||
Nevermind, I forgot I could just look at the compile log on snaps. Looks
like that's exactly the problem. I'll rename these methods to something
less conflicting.
-Sara
"Sara Golemon" <pollita@php.net> wrote in message
news:20031213184125.28253.qmail@pb1.pair.com...
> I'm having to guess on the translation here, but it's sounding like it
> doesn't think mkdir is an element of php_stream_wrapper_ops. Although
there
> seems to be a mention of mkdir/rmdir as macros in there? Perhaps renaming
> them to stream_mkdir/stream_rmdir will keep windows happy.
>
> Can you translate for me what these errors actually say?
>
> > This broke the build for me on Windows:
> >
> > streams.c
> > e:\home\php\php5\main\streams\streams.c(1471) : warning C4002: Zu viele
> > übergebe
> > ne Parameter für das Makro 'mkdir'
> > e:\home\php\php5\main\streams\streams.c(1471) : error C2039: '_mkdir':
Ist
> > kein
> > Element von '_php_stream_wrapper_ops'
> > e:\home\php\php5\main\php_streams.h(133): Siehe Deklaration von
> > '_php_st
> > ream_wrapper_ops'
> > e:\home\php\php5\main\streams\streams.c(1471) : warning C4033:
> > '_php_stream_mkdi
> > r' muss einen Wert zurückgeben
> > e:\home\php\php5\main\streams\streams.c(1486) : warning C4002: Zu viele
> > übergebe
> > ne Parameter für das Makro 'rmdir'
> > e:\home\php\php5\main\streams\streams.c(1486) : error C2039: '_rmdir':
Ist
> > kein
> > Element von '_php_stream_wrapper_ops'
> > e:\home\php\php5\main\php_streams.h(133): Siehe Deklaration von
> > '_php_st
> > ream_wrapper_ops'
> > e:\home\php\php5\main\streams\streams.c(1486) : warning C4033:
> > '_php_stream_rmdi
> > r' muss einen Wert zurückgeben
> > NMAKE : fatal error U1077: '"cl.exe"': R³ckgabe-Code '0x2'
> > Stop.
> >
> > --
> > Sebastian Bergmann
> > http://sebastian-bergmann.de/
http://phpOpenTracker.de/
> >
> > Das Buch zu PHP 5:
http://professionelle-softwareentwicklung-mit-php5.de/