This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Darwin vs. libstdc++

On Tue, Oct 09, 2001 at 07:50:47PM +1300, Bryce McKinlay wrote:
> /Users/bryce/cvs/gcc/build/powerpc-apple-
> darwin1.4/libstdc++-v3/include/bits/std_cctype.h:59: `iscntrl' not 
> declared
> [ blah blah blah ]
> It seems that libstdc++ expects these ctype declarations to be real 
> functions, but darwin's /usr/include/ctype.h only defines them as 
> macros! Apparently every other platform that libstdc++ must declare 
> these as functions, so this is a bug with darwin?

Certain entities in the standard C library are allowed to be either a
macro or a function; in the standard C++ library they are required to be
a function.  (Since macros don't obey scope and thus have a tendency to
appear where they oughtn't.)


If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]