#41049: IPE building problem ------------------------------+-------------------------------- Reporter: carmine.ventre@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------------+-------------------------------- Xcode 5.0.1, command line tool installed and osx 10.9. I have the following problem with ipe: {{{ :info:build ipebase.cpp:376:15: error: no member named 'atoi' in namespace 'std' :info:build return std::atoi(str.z()); :info:build ~~~~~^ :info:build ipebase.cpp:407:15: error: no member named 'strtoul' in namespace 's td' :info:build return std::strtoul(str.z(), 0, 16); :info:build ~~~~~^ :info:build ipebase.cpp:417:23: error: no member named 'strtol' in namespace 'st d'; did you mean 'strtok'? :info:build int integral = std::strtol(str.substr(0, i).z(), 0, 10); :info:build ~~~~~^~~~~~ :info:build strtok :info:build /usr/include/string.h:90:7: note: 'strtok' declared here :info:build char *strtok(char *, const char *); :info:build ^ :info:build ipebase.cpp:417:55: error: too many arguments to function call, expected 2, have 3 :info:build int integral = std::strtol(str.substr(0, i).z(), 0, 10); :info:build ~~~~~~~~~~~ ^~ :info:build ipebase.cpp:421:23: error: no member named 'strtol' in namespace 'std'; did you mean 'strtok'? :info:build fractional = std::strtol(s.z(), 0, 10); :info:build ~~~~~^~~~~~ :info:build strtok :info:build /usr/include/string.h:90:7: note: 'strtok' declared here :info:build char *strtok(char *, const char *); :info:build ^ :info:build ipebase.cpp:421:40: error: too many arguments to function call, expected 2, have 3 :info:build fractional = std::strtol(s.z(), 0, 10); :info:build ~~~~~~~~~~~ ^~ :info:build ipebase.cpp:430:15: error: no member named 'atof' in namespace 'std' :info:build return std::atof(str.z()); :info:build ~~~~~^ :info:build 7 errors generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/41049> MacPorts <http://www.macports.org/> Ports system for OS X