From owner-freebsd-hackers Sun Nov 22 08:05:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18355 for freebsd-hackers-outgoing; Sun, 22 Nov 1998 08:05:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cerebus.nectar.com (nectar-gw.nectar.com [204.0.249.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18348 for ; Sun, 22 Nov 1998 08:05:04 -0800 (PST) (envelope-from nectar@nectar.com) Received: (from smap@localhost) by cerebus.nectar.com (8.9.1/8.9.1) id KAA09470 for ; Sun, 22 Nov 1998 10:04:31 -0600 (CST) (envelope-from nectar@nectar.com) Received: from spawn.nectar.com(10.0.0.101) by cerebus.nectar.com via smap (V2.1) id xma009468; Sun, 22 Nov 98 10:04:21 -0600 Received: (from nectar@localhost) by spawn.nectar.com (8.9.1/8.9.1) id KAA05384 for hackers@FreeBSD.org; Sun, 22 Nov 1998 10:04:21 -0600 (CST) (envelope-from nectar) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-PGP-RSAkey: http://www.nectar.com/nectar-pgp262.txt X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE Date: Sun, 22 Nov 1998 10:04:21 -0600 (CST) From: nectar@FreeBSD.ORG To: hackers@FreeBSD.ORG Subject: errno Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The following code snippet won't compile on -CURRENT, or on -STABLE with _THREAD_SAFE defined due to ``errno'' being a macro in : #include struct example { int errno; }; I understand why, but is this code incorrect ANSI C? I'm just trying to find a reference that prohibits this use. Thanks, Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message