Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 14:12:49 -0600
From:      Warner Losh <imp@village.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freebsd.org, cvs-committers@freebsd.org, cvs-usrbin@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/make main.c var.c 
Message-ID:  <199709292012.OAA13253@harmony.village.org>
In-Reply-To: Your message of "Mon, 29 Sep 1997 22:42:45 %2B1000." <199709291242.WAA01186@godzilla.zeta.org.au> 
References:  <199709291242.WAA01186@godzilla.zeta.org.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199709291242.WAA01186@godzilla.zeta.org.au> Bruce Evans writes:
: The #include of <stdlib.h> is protected by `#if __STDC__' and Digital
: Unix apparently doesn't support Standard C by default.
: 
: Including <stdlib.h> unconditionally increases the breakage of support
: for nonstandard C.  It has already been broken in rev.1.10 of main.c
: by removing the apparently-redundant nested extern declaration of
: getenv().  var.c has always been broken (getenv is not declared and
: doesn't return int).

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.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709292012.OAA13253>