Hello, If this makes sense or not is the one thing. But why pushing just the addition of a warning, and not merge a branch where it cleans up all the warnings and adds this flag? I know you were not in Paris this year, but i think we talked about exactly this. And the answer was: Add the compiler flag, but fix the warnings before. Also the time to push this is really annoying. We are in the middle of the feature phase, there are quite huge refactors going on, the chance that you hit a conflict on a rebase with a "lets fix this warning" commit is quite high, and is quite annoying. Why not waiting to the feature freeze with it? Or just speak with people and dicsuss things before pushing #WarningOfTheMonth without any visible reason?
On Tue, Dec 20, 2016 at 04:36:09PM +0000, Mike Blumenkrantz wrote: > I think your "How many real issues have you seen" was the same argument > against running any static analysis a couple years ago; now we have weekly > reports for that. > > I have seen bugs that resulted from illegal float comparison. The fact that > a warning may be a false positive in some or even most cases does not > ensure that every warning is a false positive. > > Given that we are so pedantic about warnings for much more trivial matters > (e.g., -Wunused-parameter as part of -Wextra), it seems bizarre to me that > anyone would complain about enforcing valid comparisons for floats. > > On Tue, Dec 20, 2016 at 2:14 AM Jean-Philippe André <j...@videolan.org> > wrote: > > Hey Mike, > > On 20 December 2016 at 01:12, Mike Blumenkrantz < > michael.blumenkra...@gmail.com> wrote: > > > discomfitor pushed a commit to branch master. > > > > http://git.enlightenment.org/core/efl.git/commit/?id= > > 25792d64165ad4f5f647a36f087af2d2206a6618 > > > > commit 25792d64165ad4f5f647a36f087af2d2206a6618 > > Author: Mike Blumenkrantz <zm...@osg.samsung.com> > > Date: Mon Dec 19 11:08:43 2016 -0500 > > > > build: enable -Wfloat-equal for compiling > > > > #WarningOfTheMonth > > > > Urgh. What the hell. > > Those warnings have a very limited value. How many real issues have you > seen that resulted from this unsafe comparison? I'm pretty sure that float > == 0 or float != 0 will succeed when we expect them to, and the equality > tests will also work whenever we do direct assignments (without arithmetic). > > Now I understand why cedric made a series of patches with the float > comparison thing. I'm sure he didn't have anything more important to do. > Are you going to fix the remaining 523 warnings? Please don't send 100 > patches for that... > > > PS: I had only 2 warnings before that. Potentially not fixable (va_start > with char arguments in EAPI functions). But at least I could easily spot > anything new. > > -- > Jean-Philippe André > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel