Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38056 invoked from network); 28 May 2015 20:42:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2015 20:42:34 -0000 X-Host-Fingerprint: 92.66.168.50 unknown Received: from [92.66.168.50] ([92.66.168.50:29655] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/34-01144-8BD77655 for ; Thu, 28 May 2015 16:42:33 -0400 To: internals@lists.php.net Date: Thu, 28 May 2015 22:42:30 +0200 Message-ID: <4fuema94n8iker3ft05vj5s959stbu9amb@4ax.com> References: <064a01d09885$af869710$0e93c530$@belski.net> <06a801d09940$2fbff3d0$8f3fdb70$@belski.net> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 92.66.168.50 Subject: Re: [PHP-DEV] Re: PHP 7.0.0 roadmap From: phpdev@ehrhardt.nl (Jan Ehrhardt) "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 | |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 compilation goes fine: |C:\php-sdk>type stdioh.c | |#include | |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