Subject: CVS commit: src/share/mk
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/02/2005 21:34:50
Module Name:	src
Committed By:	christos
Date:		Fri Dec  2 21:34:50 UTC 2005

Modified Files:
	src/share/mk: bsd.sys.mk

Log Message:
For now, s/c99/gnu99/ for WARNS=4. This is so that alloca() is defined (and
possibly other built-in functions). Another solution would be to add:

    #ifdef __GNUC__
    #define alloca(a) __builtin_alloca(a)
    #else
    void *alloca(size_t);
    #endif

in stdlib.h, since we have assembly support for some architectures on
non-gcc environments, and we can add the rest.


To generate a diff of this commit:
cvs rdiff -r1.124 -r1.125 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.