From owner-freebsd-current Wed Nov 7 16:21: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id 9374E37B41D for ; Wed, 7 Nov 2001 16:20:57 -0800 (PST) Received: (qmail 38267825 invoked by uid 0); 8 Nov 2001 00:20:56 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Nov 2001 00:20:56 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fA80Kpd99323; Thu, 8 Nov 2001 01:20:51 +0100 (CET) (envelope-from root) Message-Id: <200111080020.fA80Kpd99323@gits.dyndns.org> Subject: Re: malloc.h In-Reply-To: <200111072045.fA7KjLP70989@uriah.heep.sax.de> To: Joerg Wunsch Date: Thu, 8 Nov 2001 01:20:50 +0100 (CET) Cc: freebsd-current@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joerg Wunsch wrote: > Sheldon Hearn wrote: > > > This is how we've decided to encourage progress in this specific > > case of header misuse. > > IMHO the current version of is wrong. This header > file used to be a legitimate header file prior to ANSI C. So > it should be > > #if __STDC__ this statement is wrong. it should be #ifdef __STDC__ or #if (__STDC__-0) == 0 > # error " is not part of the C standard, use " > #else > # include > #endif > > This way, if someone explicitly expresses his wish to compile ancient > C code by using "-traditional", he could get what he wants. Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message