[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: undefined reference to __ctype



On Sat, Jan 19, 2002 at 05:09:27PM -0300, Mike G wrote:
| Hi all!
| I'm trying to compile a program and I get undefined reference to
| __ctype on the isdigit() function, it on woody machine. Any one got
| this ever? any idea?

What's the code and what are the compiler options?

$ cat foo.c 

#include <ctype.h>

int main( int argc , char** argv )
{
    int b ;
    b = isdigit( '1' ) ;
    return 0 ;
}

$ gcc -Werror -Wall foo.c 

$ gcc --version
2.95.4

$


-D

-- 

Windows, hmmm, does it come with a GUI interface that works or just
pretty blue screens?



Reply to: