From owner-freebsd-current Mon Sep 9 10:16:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB7D837B401; Mon, 9 Sep 2002 10:16:33 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CD6E43E72; Mon, 9 Sep 2002 10:16:32 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id g89HGVVo066163 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 9 Sep 2002 13:16:31 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g89HGVXK066160; Mon, 9 Sep 2002 13:16:31 -0400 (EDT) (envelope-from wollman) Date: Mon, 9 Sep 2002 13:16:31 -0400 (EDT) From: Garrett Wollman Message-Id: <200209091716.g89HGVXK066160@khavrinen.lcs.mit.edu> To: obrien@FreeBSD.org Cc: current@FreeBSD.org, kan@FreeBSD.org Subject: Re: No way to tell when `long long' is or is not supported? In-Reply-To: <20020909070700.GA26978@dragon.nuxi.com> References: <200209090350.g893oHMs062192@khavrinen.lcs.mit.edu> <20020909070700.GA26978@dragon.nuxi.com> 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 < said: > It seems to work for me: > $ cat foo.c > #ifdef __STRICT_ANSI__ > #error __STRICT_ANSI__ > #endif > $ /usr/bin/cc -ansi foo.c > foo.c:2:2: #error __STRICT_ANSI__ OK, so this is now one of those magic defines that's not shown in the specs and just pulled out thin air by the preprocessor? One wishes that the GCC crowd would make up their minds already.... -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message