[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #462: commit e6c87a718936b070ce8983f0e95cbead7959629c

From: Chicken Trac
Subject: [Chicken-janitors] #462: commit e6c87a718936b070ce8983f0e95cbead7959629c not BSD-compatible
Date: Sun, 19 Dec 2010 16:28:52 -0000

#462: commit e6c87a718936b070ce8983f0e95cbead7959629c not BSD-compatible
 Reporter:  alanpost      |       Owner:       
     Type:  defect        |      Status:  new  
 Priority:  major         |   Milestone:  4.7.0
Component:  build system  |     Version:  4.6.x
 Keywords:                |  
 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:


 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.

Ticket URL: <>
Chicken Scheme <>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]