Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54172 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73172 invoked from network); 23 Jul 2011 22:36:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2011 22:36:43 -0000 Authentication-Results: pb1.pair.com header.from=gwynne@darkrainfall.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=gwynne@darkrainfall.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain darkrainfall.org from 209.85.161.46 cause and error) X-PHP-List-Original-Sender: gwynne@darkrainfall.org X-Host-Fingerprint: 209.85.161.46 mail-fx0-f46.google.com Received: from [209.85.161.46] ([209.85.161.46:53768] helo=mail-fx0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/62-59700-7FC4B2E4 for ; Sat, 23 Jul 2011 18:36:42 -0400 Received: by fxh19 with SMTP id 19so6712507fxh.19 for ; Sat, 23 Jul 2011 15:36:36 -0700 (PDT) Received: by 10.223.159.2 with SMTP id h2mr4349706fax.5.1311460596611; Sat, 23 Jul 2011 15:36:36 -0700 (PDT) Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mx.google.com with ESMTPS id q1sm534023faa.3.2011.07.23.15.36.36 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jul 2011 15:36:36 -0700 (PDT) Received: by fxh19 with SMTP id 19so6712499fxh.19 for ; Sat, 23 Jul 2011 15:36:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.4.202 with SMTP id 10mr4285647fas.129.1311460595964; Sat, 23 Jul 2011 15:36:35 -0700 (PDT) Received: by 10.223.124.75 with HTTP; Sat, 23 Jul 2011 15:36:35 -0700 (PDT) In-Reply-To: References: <4E2AF3D4.9070704@daylessday.org> Date: Sat, 23 Jul 2011 18:36:35 -0400 Message-ID: To: RQuadling@gmail.com Cc: Antony Dovgal , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] new gcov.php.net machine is up From: gwynne@darkrainfall.org (Gwynne Raskind) In my experience, 100% warnings free is only practical in two cases: 1) When the project is built with that policy from day one. 2) When someone takes the (I'd estimate) two weeks solid work necessary to eliminate every existing warning from the current trunk, AND a strict policy of maintaining zero warnings is put in place. (Believe me, the policy doesn't work if there are any warnings in the build; people inevitably get lazy.) Given the variety of warnings that pop up in a PHP build (and don't even start me on the list thrown up by Clang's static analyzer!), it's a major undertaking to eliminate all the warnings, and it'll get ugly. -- Gwynne On Sat, Jul 23, 2011 at 16:06, Richard Quadling wrote: > On 23 July 2011 17:16, Antony Dovgal wrote: >> Thanks Nuno, great job! >> >> On 07/23/2011 08:03 PM, Nuno Lopes wrote: >>> >>> Hi, >>> >>> Thanks to Nexcess, we have a new wonderful machine for http://gcov.php.net >>> up and running. >>> This new machine is running linux 64 bits, so expect a few differences in >>> the test results. >>> >>> I believe most things are ported from the old machine, including all >>> daemon's configurations. >>> I fired an experimental run of the cron job. Please help me by reporting >>> extensions that are not enabled, daemons that are misconfigured and why >>> (and >>> therefore some tests are failing or skiping), missing valgrind >>> suppressions, >>> and so on. >>> >>> Thanks to Nexcess for offering a new machine to replace the old one. >>> >>> Nuno > > Excellent work. > > I see from the recent report that there are a LOT of similar warnings. > I'm guessing that those warnings, whilst they are generated on a linux > x64 box, would be the same for win32 (and anything else). > > What sort of policy is needed in addressing casting warnings like > this. I get a LOT of warnings about casting of doubles/floats to > ints/longs, along with the potential for potential data loss. > > How feasible is it to aim for a 100% warning free build? I'm not > meaning that we should suppress the warnings. > > -- > Richard Quadling > Twitter : EE : Zend : PHPDoc > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >