This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22650] New: glibc causes build bustage on std::isfinite()


https://sourceware.org/bugzilla/show_bug.cgi?id=22650

            Bug ID: 22650
           Summary: glibc causes build bustage on std::isfinite()
           Product: glibc
           Version: 2.26
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: mark at wolfbeast dot com
  Target Milestone: ---

Apparently, glibc 2.26 removed std::isfinite() from <cmath>? This causes build
bustage as reported in e.g. Pale Moon.[1]

15:18.98
/var/cache/acbs/build/acbs.b1irsl91/palemoon/dom/canvas/CanvasRenderingContext2D.cpp:
In function ‘bool mozilla::dom::ValidateRect(double&, double&, double&,
double&)’:
15:18.98
/var/cache/acbs/build/acbs.b1irsl91/palemoon/dom/canvas/CanvasRenderingContext2D.cpp:2420:8:
error: ‘__builtin_isfinite’ is not a member of ‘std’
15:18.98    if (!std::isfinite((float)aX) | !std::isfinite((float)aY) |
15:18.98         ^

As far as I know, std::isfinite() should always be included in <cmath>.

[1] See https://github.com/MoonchildProductions/Pale-Moon/issues/1553

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]