[MacPorts] #67264: gmic-gimp/gmic-qt @3.2.3: builds failing on older macOS releases: call to 'abs' is ambiguous

MacPorts noreply at macports.org
Wed Apr 19 00:12:33 UTC 2023


#67264: gmic-gimp/gmic-qt @3.2.3: builds failing on older macOS releases: call to
'abs' is ambiguous
---------------------+-------------------------------
 Reporter:  mascguy  |      Owner:  Schamschula
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:           |       Port:  gmic-gimp gmic-qt
---------------------+-------------------------------
 Details (identical failure occurring for both `gmic-gimp` and `gmic-qt`):

 {{{
 work/gmic-3.2.3/gmic-qt/src/FilterSelector/FiltersModelReader.cpp:534:27:
 error: call to 'abs' is ambiguous
           previewFactor = std::abs(previewFactor);
                           ^~~~~~~~

 1 error generated.
 make[2]: ***
 [CMakeFiles/gmic_qt.dir/src/FilterSelector/FiltersModelReader.cpp.o] Error
 1
 }}}

 Based on a quick review of `src/FilterSelector/FiltersModelReader.cpp`,
 upstream may simply be missing `#include <cstdlib>` (or wherever
 `std::abs` is defined). But didn't dig too deeply.

 https://ports.macports.org/port/gmic-gimp/details/

 https://ports.macports.org/port/gmic-qt/details/

-- 
Ticket URL: <https://trac.macports.org/ticket/67264>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list