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

MacPorts noreply at macports.org
Fri Jun 28 18:58:14 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 fgdb):

 Replying to [comment:7 dyne2meter]:
 > The developer, 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''
 >
 > Other stuff I read online in reference to this ambiguity indicated
 something along these lines.
 >
 > Glunz adds that if this works, he will apply this change in the next
 version. That's all I have for now.
 >
 > Someone wiser than I will know the ins and outs from here. Is there some
 sort of patches port for the legacy systems?
 >
 > Should I continue to correspond with him pending the outcome of this
 change?


 I confirm: by applying the suggested changes to dxfacad.h, pstoedit does
 compile.

 However, at this moment I'm unable to provide full runtime testing.

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


More information about the macports-tickets mailing list