[Webkit-unassigned] [Bug 114654] [GStreamer] Eclipse warnings in MediaPlayerPrivateGStreamer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 29 13:47:29 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114654


Brendan Long <b.long at cablelabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #19 from Brendan Long <b.long at cablelabs.com>  2013-04-29 13:45:50 PST ---
(In reply to comment #18)
> If I'm understanding right, the build _does_ work but it's the Eclipse static code analysis that's marking the std::isinf as an error?

Yes, the build works. I even went to the trouble to make it build inside of Eclipse to see if it would pick up the settings automatically, but it didn't help (as suggested here: https://code.google.com/p/chromium/wiki/LinuxEclipseDev).

I actually get errors (reported in Eclipse's editor but not the build) on std::isinf (but not ::isinf) and roundf

One guess could be related to my relatively old Ubuntu version  (12.04), but I assume if it was a GCC problem, it wouldn't compile.

> - <math.h> (what's normally included in WebCore nowadays when stdlib's math functions are required),
> - <cmath> (what I hope someday will replace the inclusions from the previous line),
> - <wtf/MathExtras.h> (the helper header that also sets up missing math functions for various compiler configurations, also includes <cmath>).

I get the same results for all three:

  * roundf not resolved
  * std::isinf(float): Invalid arguments '
Candidates are:
__gnu_cxx::__enable_if<&0[std::__is_arithmetic<#0>::__value],int>::__type isinf(#0)
'

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list