Re: [Windows] Error Building PHP 5.4 NTS Debug Version, mysqlnd
| From: | Pierre Joye | Date: | Sun, 22 Jan 2012 22:07:01 +0000 |
| Subject: | Re: [Windows] Error Building PHP 5.4 NTS Debug Version, mysqlnd | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57474@lists.php.net to get a copy of this message | ||
hi Andrey,
The TSRM macro must always be the last declaration, always. The
problem is that the DBG macros have code in them...
On Sun, Jan 22, 2012 at 9:15 PM, Andrey Hristov <php@hristov.com> wrote:
> Hi Pierre,
>
> On 01/22/2012 12:37 PM, Pierre Joye wrote:
>>
>> hi,
>>
>> Can reproduce it now, can you open a bug please and assign it to mysql?
>>
>> The problem is due to TSRMLS_FETCH being called at the wrong place.
>> I'm not sure how they want it but ideally it should in the DBG macro
>> already.
>
>
> called at the wrong place? it should be always before DBG or the DBG_ENTER
> macro won't compile. So how it could be possibly wrong? :)
>
>
>> Added Andrey to the loop.
>
>
>> Cheers,
>>
>> On Sun, Jan 22, 2012 at 11:38 AM, Christian Seiler<chris_se@gmx.net>
>> wrote:
>>>
>>> Hi Pierre,
>>>
>>>
>>>> I cannot reproduce the error, mysqlnd builds just fine here.
>>>>
>>>> What's your configure line?
>>>
>>>
>>>
>>> cscript /nologo configure.js
>>> �"--disable-phar"
>>> �"--disable-ipv6"
>>> �"--disable-zts"
>>> �"--enable-cgi"
>>> �"--disable-bcmath"
>>> �"--disable-calendar"
>>> �"--disable-odbc"
>>> �"--disable-tokenizer"
>>> �"--disable-xmlreader"
>>> �"--disable-xmlwriter"
>>> �"--without-wddx"
>>> �"--enable-debug"
>>> �"--enable-cli-win32"
>>> �"--enable-pdo"
>>> �"--with-openssl"
>>> �"--with-php-build=..\deps"
>>> �"--with-libxml"
>>> �"--with-pdo-sqlite"
>>>
>>> This is done in a Windows SDK 6.1 shell with
>>>
>>> �setenv /debug /x86 /xp �[*]
>>>
>>> and VC9 Pro SP1 is used. The same configure line works fine for PHP
>>> 5.3.9.
>>>
>>> Thanks,
>>> Christian
>>>
>>> [*] But also setenv /release /x86 /xp has the same issue.
>>>
>>
>>
>>
>
> Best,
> Andrey
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org