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
Hey Hartmut,
MacOSX ctype.h does define it. I wasn't entirely sure why this error was
coming up. Thus the email. I'm busy arguing with libraries right now on
the system.
On Wed, 6 Mar 2002, Hartmut Holzgraefe wrote:
> Dan Kalowsky wrote:
> > From building PHP on a MacOSX machine:
> >
> > cty
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/c
>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.)
ctype.c: In function `zif_ctype_alpha':
ctyp