Gentoo Archives: gentoo-user

From: Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails
Date: Fri, 06 Oct 2006 14:42:12
Message-Id: 452668B8.6060607@buanzo.com.ar
In Reply to: Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails by Kevin O'Gorman
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 gcc -o digits -Wall -ansi -pedantic digits.c
5
6 With that, I got the "implicit declaration of function BLAH" message. When that happens, and the man
7 page does not list anything special, I usually add this at the beginning of the source file:
8
9 #define _GNU_SOURCE
10
11 et voila', now compiles cleanly
12
13 - --
14 Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
15 "Do you know about the dangers of DRM? Find out at http://www.defectivebydesign.org/what_is_drm"
16
17 http://www.buanzo.com.ar | http://www.vivamoslavida.com.ar : Portal no-comercial del buen vivir!
18 for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done
19 -----BEGIN PGP SIGNATURE-----
20 Version: GnuPG v1.4.5 (GNU/Linux)
21 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
22
23 iD8DBQFFJmi4AlpOsGhXcE0RAgbxAJ0Y6iCfQhkSRJhtw+P7DYs8UmDM9ACffEhx
24 jtef6SeHVVgG0l2tAjzsDTo=
25 =ezDJ
26 -----END PGP SIGNATURE-----
27 --
28 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails Zac Slade <krakrjak@××××××××××.net>