gcc48/gcc49: isalnum/isgraph: Undefined symbols for architecture x86_64

Joshua Root jmr at macports.org
Wed Nov 6 16:46:43 PST 2013

On 2013-11-7 10:44 , Brian D. McGrew wrote:
>> Shouldn't that be '#include <cctype>' since you're compiling as C++?
> Yeah, probably so.  It¹s compiled like this for over a year in MacOS 7 and
> 8Š  It¹s just now that I¹ve gone to 9 it¹s a problem.  And, changing it to
> #include <cctype> didn¹t change anything.

OK. I don't have Mavericks so I couldn't test. I was thinking maybe they
completely inlined the C functions, so maybe there was a different
version for C++.

You might try using std::isalnum, or including <locale> which has its
own versions.

- Josh

More information about the macports-users mailing list