[MacPorts] #54820: missing std::trunc and other std:: math functions when building webkit2-gtk on 10.6 using macports-libsdtc++ and libgcc headers

MacPorts noreply at macports.org
Fri Sep 29 16:48:18 UTC 2017


#54820: missing std::trunc and other std:: math functions when building webkit2-gtk
on 10.6 using macports-libsdtc++ and libgcc headers
--------------------------+-------------------------
  Reporter:  kencu        |      Owner:  jeremyhu
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  snowleopard
      Port:  webkit2-gtk  |
--------------------------+-------------------------

Comment (by kencu):

 Note to try:

 it might be possible to fix or improve these math errors by adding a
 `-std=c99` to the build line. At least some of the missing definitions in
 `/usr/include/architecture/i386/math.h` then become available on 10.6 when
 that is defined.

--
Ticket URL: <https://trac.macports.org/ticket/54820#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list