Bug #52607 [Opn->Fbk]: PHP won't compile with VS2010

From: Date: Sun, 15 Aug 2010 01:16:15 +0000
Subject: Bug #52607 [Opn->Fbk]: PHP won't compile with VS2010
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-153436@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52607&edit=1

 ID:                 52607
 Updated by:         pajoye@php.net
 Reported by:        d1pro at yandex dot ru
 Summary:            PHP won't compile with VS2010
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

It works here, do you use the SDK 7.1 or VS2010 console?


Previous Comments:
------------------------------------------------------------------------
[2010-08-15 03:07:38] d1pro at yandex dot ru

Description:
------------
Building with VS2010 or WinSDK 7.1 fails with

cl : Command line warning D9024 : unrecognized source file type
'cl.exe', object 
file assumed
LINK : fatal error LNK1181: cannot open input file 'cl.exe'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 
10.0\VC\Bin\amd64\cl.exe"' : return code '0x2'
Stop.

This happens because new cl.exe uses environment variable CL which is
set to 
cl.exe in the Makefile.

Simplest resolution is to rename variable and all entries of $(CL).



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52607&edit=1


Thread (5 messages)

« previous php.bugs (#153436) next »