Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 11:41:30 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include stdlib.h
Message-ID:  <20030625184130.GA45336@dragon.nuxi.com>
In-Reply-To: <20030625132653.A11826@FreeBSD.org>
References:  <200306251811.h5PIBWxs078351@repoman.freebsd.org> <20030625132653.A11826@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 25, 2003 at 01:26:53PM -0500, Juli Mallett wrote:
> Please make the lint case the default case.  The error is silly.

It is not silly.  Alloca is *so* tied to how the compiler is generating
code that it isn't funny.  Note we have no alloca implementation in
/usr/src -- the compiler *must* provide it.  What is the use in compiling
something you cannot link?  I know some are working on TenDRA and I don't
want to leave a hidden land mine for it to fall over.

> And don't tell me to add definitions for those compilers along with
> lint.

I wouldn't have the lint case in there personally -- BDE has mentioned
several times that lint should better follow what ever standard or
compiler it is trying to lint for.

-- 
-- David  (obrien@FreeBSD.org)



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