php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74423 --with-analyzer flag working but ignored
Submitted: 2017-04-12 19:51 UTC Modified: 2017-04-16 22:32 UTC
From: acuna dot personal at gmail dot com Assigned: ab (profile)
Status: Not a bug Package: *Compile Issues
PHP Version: 7.2.0-dev OS: Windows 10.1 x64
Private report: No CVE-ID: None
 [2017-04-12 19:51 UTC] acuna dot personal at gmail dot com
Description:
------------
Trying to compile PHP with --with-analyzer flag, but see, that Static Analyzer is disabled all the same in configure summary. Sorry, but I don't know what to see to know that it's installed correctly.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-13 11:26 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2017-04-13 11:26 UTC] ab@php.net
Thanks for the report. The chosen analyzer is shown in the configure summary. See also configure --help for supported analyzers.

Thanks.
 [2017-04-13 12:27 UTC] ab@php.net
-Status: Closed +Status: Not a bug
 [2017-04-13 18:50 UTC] acuna dot personal at gmail dot com
-PHP Version: 7.1.3 +PHP Version: 7.2.0-dev
 [2017-04-13 18:50 UTC] acuna dot personal at gmail dot com
Ah, I'm so sorry for forget to write that I [really] want to use Cppcheck (--with-analyzer=cppcheck), but this key only works for Visual Studio, but other types (I've check it all) are display "disabled" in summary.
 [2017-04-13 19:48 UTC] ab@php.net
It checks either in program files or on path, so should be something about it. AFAIR Cppcheck was already supported with 7.1, just tried with master and it finds the one i've installed in c:\Program Files\Cppcheck\cppcheck.exe. 

Thanks.
 [2017-04-16 22:32 UTC] acuna dot personal at gmail dot com
Ah, I'm sorry, have installed it to another drive... And I don't know is it a bug or not, but it's compiling soooo long with Cppcheck, it spent more than 30 minutes, then I've simply killed the process so far. I'll try to compile it again with this config after a while, but I doubt that something will change...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC