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

 ID:                 63537
 Updated by:         paj...@php.net
 Reported by:        ajron at wp dot pl
 Summary:            vs2012 link error
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Windows
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

As far I remember I fixed that in all branches, can you try master, 5.5 or 
latest 
53/4 please?


Previous Comments:
------------------------------------------------------------------------
[2012-11-16 08:10:25] ajron at wp dot pl

Description:
------------
Microsoft linker version information option has format:
/VERSION:major[.minor]

The major and minor arguments are decimal numbers in the range 0 through 
65,535. 
The default is version 0.0.

Linker puts this version number in the PE header of the .EXE file or DLL. There 
is no room in the PE header to put more than 2 numbers. Linkers before vs2012 
skip extra numbers during linking, but vs2012 linker throws error.

The problem is in \win32\build\config.w32 file.

There is:

// General link flags
DEFINE("LDFLAGS", "/nologo /version:" +
        PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION); 

Should be:

// General link flags
DEFINE("LDFLAGS", "/nologo /version:" +
        PHP_VERSION + "." + PHP_MINOR_VERSION); 




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



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

Reply via email to