Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57474 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40314 invoked from network); 22 Jan 2012 22:07:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2012 22:07:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-tul01m020-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:41973] helo=mail-tul01m020-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/A3-29815-7888C1F4 for ; Sun, 22 Jan 2012 17:07:04 -0500 Received: by obbup3 with SMTP id up3so637447obb.29 for ; Sun, 22 Jan 2012 14:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=EXsiZYe77Q6F2OMJdLaaMguoyz2NtCeJ4Iq5rl41VOg=; b=phyaHtuPC2bDOPseOyjWotZG7uLJYHJ7KQylqsNqPkFc4UK3Dp8FQ1jm5Nw7XE6z4u oX/KDCFKXrEqy+E3Aqxm9rryclG3nsqK/Wli8w0U2yWSTE1no8OBd78OG6rcsb8nMZqP y0+Y1Bd84rVx4b58/dPA6bPf8hnVzjlHdDrw0= MIME-Version: 1.0 Received: by 10.182.74.66 with SMTP id r2mr5750964obv.67.1327270021102; Sun, 22 Jan 2012 14:07:01 -0800 (PST) Received: by 10.182.81.74 with HTTP; Sun, 22 Jan 2012 14:07:01 -0800 (PST) In-Reply-To: <4F1C6E78.9020001@hristov.com> References: <4F1B29A7.5070803@gmx.net> <4F1C6E78.9020001@hristov.com> Date: Sun, 22 Jan 2012 23:07:01 +0100 Message-ID: To: Andrey Hristov Cc: Christian Seiler , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [Windows] Error Building PHP 5.4 NTS Debug Version, mysqlnd From: pierre.php@gmail.com (Pierre Joye) 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 wrote: > =C2=A0Hi 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_ENTE= R > 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 >> =C2=A0wrote: >>> >>> Hi Pierre, >>> >>> >>>> I cannot reproduce the error, mysqlnd builds just fine here. >>>> >>>> What's your configure line? >>> >>> >>> >>> cscript /nologo configure.js >>> =EF=BF=BD"--disable-phar" >>> =EF=BF=BD"--disable-ipv6" >>> =EF=BF=BD"--disable-zts" >>> =EF=BF=BD"--enable-cgi" >>> =EF=BF=BD"--disable-bcmath" >>> =EF=BF=BD"--disable-calendar" >>> =EF=BF=BD"--disable-odbc" >>> =EF=BF=BD"--disable-tokenizer" >>> =EF=BF=BD"--disable-xmlreader" >>> =EF=BF=BD"--disable-xmlwriter" >>> =EF=BF=BD"--without-wddx" >>> =EF=BF=BD"--enable-debug" >>> =EF=BF=BD"--enable-cli-win32" >>> =EF=BF=BD"--enable-pdo" >>> =EF=BF=BD"--with-openssl" >>> =EF=BF=BD"--with-php-build=3D..\deps" >>> =EF=BF=BD"--with-libxml" >>> =EF=BF=BD"--with-pdo-sqlite" >>> >>> This is done in a Windows SDK 6.1 shell with >>> >>> =EF=BF=BDsetenv /debug /x86 /xp =EF=BF=BD[*] >>> >>> 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 --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org