Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62751 invoked by uid 1010); 25 May 2007 17:04:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62736 invoked from network); 25 May 2007 17:04:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2007 17:04:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:28029] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/52-46302-D1717564 for ; Fri, 25 May 2007 13:04:31 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 May 2007 10:04:23 -0700 Message-ID: <4657170E.8060701@zend.com> Date: Fri, 25 May 2007 10:04:14 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: 'PHP Internals' Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 May 2007 17:04:23.0368 (UTC) FILETIME=[BE31AC80:01C79EEE] Subject: TSRM changes broke windows compile From: stas@zend.com (Stanislav Malyshev) Recent TSRM changes seem to break the windows compilation for me. I'm getting: tsrm_virtual_cwd.c C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock2.h(112 ) : error C2011: 'fd_set' : 'struct' type redefinition C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsoc k.h(54) : see declaration of 'fd_set' C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock2.h(147 ) : warning C4005: 'FD_SET' : macro redefinition and so on many times. PHP compiled just fine for a long time with the same setup for me, broke just very recently. Any ideas what happened? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/