Re: Re: svn: /php/php-src/trunk/ NEWS ext/readline/config.m4 ext/readline/readline.c ext/readline/readline_cli.c ext/readline/readline_cli.h
sapi/cli/cli.h sapi/cli/config.m4 sapi/cli/config.w32 sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h
| From: | Johannes Schlüter | Date: | Tue, 22 Feb 2011 12:54:11 +0000 |
| Subject: | Re: Re: svn: /php/php-src/trunk/ NEWS ext/readline/config.m4 ext/readline/readline.c ext/readline/readline_cli.c ext/readline/readline_cli.h sapi/cli/cli.h sapi/cli/config.m4 sapi/cli/config.w32 sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h |
||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51496@lists.php.net to get a copy of this message | ||
Hi,
my mistake. I didn't test on windows but rev. 308564 should fix it. Will
test with VS tonight.
johannes
On Tue, 2011-02-22 at 13:32 +0100, Carsten Wiedmann wrote:
> Am 19.02.2011 17:04, schrieb Johannes Schlüter:
> > Revision:
> > http://svn.php.net/viewvc?view=revision&revision=308482
> >
> > Log:
> > - Implement FR#53878 Interactive shell should work with shared readline extension
> >
> > # This is useful w/ distributors who like to build all things shared or don't
> > # provide the readline extension. Or if a user pefers readline's behavior over
> > # libedit which might be used by the distributor.
> >
> > Bug: http://bugs.php.net/53878 (Assigned) Interactive
> > shell should work with shared readline extension
>
> Maybe I'm doing something wrong... But as of this change, I can't build
> the CLI on Windows:
> | php_cli.c
> | sapi\cli\php_cli.c(277) : error C2275: 'size_t': Ungültige Verwendung
> | dieses Typs als Ausdruck
> | c:\program files\microsoft visual studio 9.0\vc\include
> | \codeanalysis\sourceannotations.h(19): Siehe Deklaration von 'size_t'
> | sapi\cli\php_cli.c(277) : error C2146: Syntaxfehler: Fehlendes ';'
> | vor Bezeichner 'ret'
> | sapi\cli\php_cli.c(277) : error C2065: 'ret': nichtdeklarierter
> | Bezeichner
> | sapi\cli\php_cli.c(279) : error C2065: 'ret': nichtdeklarierter
> | Bezeichner
> | sapi\cli\php_cli.c(280) : error C2065: 'ret': nichtdeklarierter
> | Bezeichner
> | NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio
> | 9.0\VC\Bin\cl.exe"": Rückgabe-Code "0x2"
> | Stop.
>
> Regards,
> Carsten
>
>