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

Brian D. McGrew brian at visionpro.com
Thu Nov 7 06:12:15 PST 2013


On 11/6/13, 5:46 PM, "Joshua Root" <jmr at macports.org> wrote:

>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.

Still no bueno!  Including cctype or locale didn’t get it, neither did
std::

(However, if I go back and compile the same code on a 10.8 machine using
gcc48 or gcc49, everything compiles fine).

-b



More information about the macports-users mailing list