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

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

 New Comment:

Has to merge to trunk


Previous Comments:
------------------------------------------------------------------------
[2010-08-15 05:38:10] paj...@php.net

Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=302247
Log: - #52607, fix ENV conflit with win SDK 7.1

------------------------------------------------------------------------
[2010-08-15 03:33:37] d1pro at yandex dot ru

I have tryed both with same result. Manually editing the Makefile helps
- i got 

succesful build. I have replaced $(CL) with $(CL1) and CL= with CL1=

------------------------------------------------------------------------
[2010-08-15 03:16:15] paj...@php.net

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

------------------------------------------------------------------------
[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

Reply via email to