Hartmut, After a brief bit more of playing here, what I've discovered is:
The offending lines all look like this: if(ctype(isalnum, &c)) { For some reason the MacOSX compiler is considering isalnum a variable that is undefined. Changing the line to: if(isalnum(&c)) { works, albiet with some warnings. There seems to be a small difference in the MacOSX ctype.h though. FreeBSD: int isalpha __P((int)); MacOSX : #define isalpha(c) __istype((c), _A) Linux : #define __exctype(name) extern int name (int) __THROW __exctype (isalpha); A bit drastic of a difference :\ On Wed, 6 Mar 2002, Hartmut Holzgraefe wrote: > Dan Kalowsky wrote: > > From building PHP on a MacOSX machine: > > > > ctype.c: In function `zif_ctype_alnum': > > ctype.c:126: `isalnum' undeclared (first use in this function) > > ctype.c:126: (Each undeclared identifier is reported only once > > ctype.c:126: for each function it appears in.) > [...] > > > ext/ctype/ctype.c includes <ctype.h>, isalpha() and friends > are supposed to be defined in there, is this different on OS/X, > and if so: why? > > > >---------------------------------------------------------------< Dan Kalowsky "Tonight I think I'll walk alone. http://www.deadmime.org/~dank I'll find soul as I go home." [EMAIL PROTECTED] - "Temptation", New Order -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php