From owner-cvs-usrbin Mon Sep 29 13:51:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA08750 for cvs-usrbin-outgoing; Mon, 29 Sep 1997 13:51:13 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA08728; Mon, 29 Sep 1997 13:51:02 -0700 (PDT) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xFmmM-0006GB-00; Mon, 29 Sep 1997 14:50:54 -0600 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id OAA13443; Mon, 29 Sep 1997 14:51:28 -0600 (MDT) Message-Id: <199709292051.OAA13443@harmony.village.org> Subject: Re: cvs commit: src/usr.bin/make main.c var.c To: Bruce Evans , cvs-all@freebsd.org, cvs-committers@freebsd.org, cvs-usrbin@freebsd.org In-reply-to: Your message of "Mon, 29 Sep 1997 14:12:49 MDT." <199709292012.OAA13253@harmony.village.org> References: <199709292012.OAA13253@harmony.village.org> <199709291242.WAA01186@godzilla.zeta.org.au> Date: Mon, 29 Sep 1997 14:51:27 -0600 From: Warner Losh Sender: owner-cvs-usrbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199709292012.OAA13253@harmony.village.org> Warner Losh writes: : I'll have to look into this more closely. I think that DUX's cc : defines __STDC__ to be 0 unless you are exactly ansi. Stupid, imho, : but I think that's what's up. I'll have to check into the details of : this more closely when I have better connectivity to the alpha. What is going on here is that DUX defines __STDC__ to be 0 when -std is on the command line, to 1 when -std1 is on the command line, and to nothing at all when -std0 is on the command line. These conditions correspond to default compile, -ansi and -traditional for gcc (approx). The default is -std0, so that's why I was seeing what I was seeing. Warner