On Thursday 05 October 2006 16:10, "Kevin O'Gorman" <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] C programming use of isascii(), ispunct() and 
isblank() fails':
> Why is it that using some of the macros from ctype.h fails to compile?

You code compiles fine for me.  I'm using... hrm, an invalid profile... 
well, gcc --version reports 'gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)'

>         if (ispunct(i)) punctf(" punct");

I did get a link error, because you haven't defined "punctf"; I'll bet you 
meant "printf".

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

Attachment: pgp6D15zJcfTt.pgp
Description: PGP signature

Reply via email to