[MacPorts] #58602: pstoedit @3.74: error: call to 'abs' is ambiguous

MacPorts noreply at macports.org
Sun Jun 23 18:14:46 UTC 2019


#58602: pstoedit @3.74: error: call to 'abs' is ambiguous
-----------------------+--------------------
  Reporter:  dbl001    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  pstoedit  |
-----------------------+--------------------

Comment (by dyne2meter):

 Wolfgang Glunz (glunz35 at pstoedit.net) has replied. He asks that we try the
 following:

 Insert at top of dxfacad.h:

 ''#include <cmath>''

 Then: replace the ''abs'' in line 248 with ''std::abs''

 Glunz adds that if this works, he will apply this change in the next
 version. That's all I have for now.

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


More information about the macports-tickets mailing list