Re: Re: PHP 7.0.0 roadmap

From: Date: Thu, 28 May 2015 20:42:30 +0000
Subject: Re: Re: PHP 7.0.0 roadmap
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-86430@lists.php.net to get a copy of this message
"Anatol Belski" in php.internals (Thu, 28 May 2015 14:16:49 +0200): >> https://www.apachelounge.com/viewtopic.php?p=30557#30557 > >Thanks for reporting. How do you build, which deps do you use? What I've >read on the page you've linked sounds terribly wrong > >Jan, please open a bug ticket, we can follow up there. Actually, I should open a bug ticket for the developers of VC 2015, I guess. I am using Visual Studio Pro Web 2015 RC at the moment. Compilation of even deplister.exe is broken in this compiler with a 'unresolved external symbol _printf'. I created a real simple example of the same error. See the following console output: |C:\php-sdk>type windowsh.c | |#include <windows.h> | |int main( int argc, char* args[] ) { | printf("Testing"); | return 0; |} | |C:\php-sdk>cl.exe /Fewindowsh.exe windowsh.c |Microsoft (R) C/C++ Optimizing Compiler Version 19.00.22816 for x86 |Copyright (C) Microsoft Corporation. All rights reserved. | |windowsh.c |Microsoft (R) Incremental Linker Version 14.00.22816.0 |Copyright (C) Microsoft Corporation. All rights reserved. | |/out:windowsh.exe |windowsh.obj |windowsh.obj : error LNK2019: unresolved external symbol _printf referenced in function _main |windowsh.exe : fatal error LNK1120: 1 unresolved externals If I #include <stdio.h> compilation goes fine: |C:\php-sdk>type stdioh.c | |#include <stdio.h> | |int main( int argc, char* args[] ) { | printf("Testing"); | return 0; |} |C:\php-sdk>cl.exe /Festioh.exe stdioh.c |Microsoft (R) C/C++ Optimizing Compiler Version 19.00.22816 for x86 |Copyright (C) Microsoft Corporation. All rights reserved. | |stdioh.c |Microsoft (R) Incremental Linker Version 14.00.22816.0 |Copyright (C) Microsoft Corporation. All rights reserved. | |/out:stioh.exe |stdioh.obj | |C:\php-sdk>stioh.exe |Testing This might be a recent change in VC 2015. It looks like they are still changing a lot in it. Not ideal to build alpha's with a moving compiler. Jan

« previous php.internals (#86430) next »