﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
462	commit e6c87a718936b070ce8983f0e95cbead7959629c not BSD-compatible	Alan Post	felix winkelmann	"After updating Chicken past e6c87a718936b070ce8983f0e95cbead7959629c, I get the following error trying to build on OpenBSD 4.8:

{{{
gmake -f ./Makefile.bsd CONFIG= all
gmake[1]: Entering directory `/home/a/wa/chicken/core'
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer  -DC_BUILDING_LIBCHICKEN library.c -o library-static.o -I. -I./
In file included from library.c:11:
chicken.h:157: error: conflicting types for 'alloca'
gmake[1]: *** [library-static.o] Error 1
gmake[1]: Leaving directory `/home/a/wa/chicken/core'
gmake: *** [all] Error 2
}}}

The OpenBSD man page indicates that alloca has a different signature than the one declared in chicken.h:

[http://www.openbsd.org/cgi-bin/man.cgi?query=alloca&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html alloca(3)]

The macro '#if defined(!__OpenBSD!__)' can be used to add platform specific code in OpenBSD, though I suspect alloca is stable across the *BSD platforms."	defect	closed	major	4.9.0	build system	4.6.x	fixed		alanpost@…	
