cvs commit: src/share/mk bsd.sys.mk

Dag-Erling Smorgrav des at ofug.org
Fri Jun 13 15:39:37 PDT 2003


Peter Wemm <peter at 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 at ofug.org


More information about the cvs-all mailing list