Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 00:39:33 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/mk bsd.sys.mk
Message-ID:  <xzp65n9a9ga.fsf@flood.ping.uio.no>
In-Reply-To: <200306132154.h5DLsL4t018474@repoman.freebsd.org> (Peter Wemm's message of "Fri, 13 Jun 2003 14:54:21 -0700 (PDT)")
References:  <200306132154.h5DLsL4t018474@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm <peter@FreeBSD.org> writes:
>   Log:
>   We cannot use c99 on amd64 either due to lack of alloca().  libc:strptime()
>   uses alloca() and alloca is impossible to implement as a callable function
>   on amd64.  It has to be a compiler builtin.  Note that the bigger problem
>   is that libc is not c99 clean internally.

#define alloca(sz) __builtin_alloca(sz)

and please remove CSTD?=c99 from bsd.sys.mk, it was never intended to
be used that way.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org



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