[MacPorts] #58009: lmms: no matching function for call to 'min'

MacPorts noreply at macports.org
Sat Feb 2 21:17:53 UTC 2019


#58009: lmms: no matching function for call to 'min'
--------------------+------------------------
 Reporter:  mojca   |      Owner:  ryandesign
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  lmms
--------------------+------------------------
 I noticed this while updating [https://github.com/macports/macports-
 ports/pull/3090 fluidsynth] and it should hopefully be easy to fix:
 {{{
 /opt/local/var/macports/build/_Users_vsts_agent_2.144.2_work_1_s_multimedia_lmms/lmms/work/lmms-1.1.3/plugins/LadspaEffect/calf/src/modules_limit.cpp:543:27:
 error: no matching function for call to 'min'
             buffer[pos] = std::min(*params[param_limit] /
 std::max(fabs(sum_left), fabs(sum_right)), 1.0);
                           ^~~~~~~~
 }}}

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


More information about the macports-tickets mailing list