Hi,
I am trying to build PHP 5.5beta1 with clang, so the question is:
Would you be interested in the results? This would be one shot only.
The next step would be to do automatic builds and publishing results of
scan-build (a Clang static analysis tool). Would you be interested?
It does seem to produce lot of fatal errors on lot of places, so it seems
that php5 can be used to improve llvm/clang as well :).
O.
Ondřej Surý <ondrej@sury.org
It does seem to produce lot of fatal errors on lot of places, so it seems
that php5 can be used to improve llvm/clang as well :).
Recent clang versions work well for me with PHP. Earlier versions led to
infinite hanging compilers and such which gave me some doubt about
clang's state, while I like the way more helpful error messages clang
provides than other compilers I know.
I think it would be great if we could integrate scan-build and other
checks into http://ci.qa.php.net/ and would give more focus on that.
johannes
--bcaec548a7f385895a04d8d51fce
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printableHi,
I am trying to build PHP 5.5beta1 with clang, so the question is:
Would you be interested in the results? This would be one shot only.
Hi Ondrey,
yes I would be very interested in these results. I personally build PHP with
clang most of the time and think we should use it's features to provide
better analytics. Also I think since freebsd switched to clang ,we should
ensure that PHP can be compiled with clang.
Thank you very much for your work,
David
Hi,
I am trying to build PHP 5.5beta1 with clang, so the question is:
Would you be interested in the results? This would be one shot only.
The next step would be to do automatic builds and publishing results of
scan-build (a Clang static analysis tool). Would you be interested?It does seem to produce lot of fatal errors on lot of places, so it seems
that php5 can be used to improve llvm/clang as well :).O.
Ondřej Surý ondrej@sury.org
for the record, Sebastian did this for 5.4, maybe it would be interesting
to you:
http://sebastian-bergmann.de/archives/916-Using-CLANGscan-build-for-Static-Analysis-of-the-PHP-Interpreter.html
see http://marc.info/?l=php-internals&m=132847183930339&w=1 for the
discussion about the results
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu