#43364: larn: error: too few arguments to function call, expected 1, have 0 -------------------------+-------------------------- Reporter: vikingjs@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: larn | -------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: There are three errors shown in the log, all of this type: {{{ :info:build diag.c:212:55: error: too few arguments to function call, expected 1, have 0 :info:build lrfill((char*)&c[0],100*sizeof(long)); gtime = lrint(); :info:build ~~~~~ ^ }}} The reason this error occurs is that larn has defined a function called "lrint", but the system headers also define a function "lrint" which is different. The larn "lrint" function needs to be renamed so that it does not clash with the system function. -- Ticket URL: <https://trac.macports.org/ticket/43364#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X