Re: [Chicken-hackers] [PATCH] Use noreturn attribute in clang versions which support it

2013-10-23 Thread Jim Ursetto
On Oct 21, 2013, at 15:27, Peter Bex wrote: > > Hi all, > > Here's another small patch which will properly enable C_noret for clang. > Currently it expands to nothing and causes a slew of warnings mostly > because it doesn't understand that barf() won't return when it detects > an error, and th

[Chicken-hackers] Make CHICKEN compile on GNU/Hurd

2013-10-23 Thread Christian Kellermann
Hi, the attached patch will make CHICKEN compile on GNU/Hurd, due to a mix up of __ARCH__ defines. At least my understanding here is, that the intention has been to check for Mac OS X in the original version. Could someone test this on Mac OS X please? Please note that there are some more pieces

Re: [Chicken-hackers] [PATCH] Use noreturn attribute in clang versions which support it

2013-10-23 Thread Peter Bex
On Wed, Oct 23, 2013 at 11:53:13AM +0200, Moritz Heidkamp wrote: > BTW, I got another warning when running the tests: > > ../chicken 'embedded4.scm' -output-file 'a.c' -scrutinize -verbose > -include-path .. > 'clang' 'a.c' -o 'a.o' -c -fno-strict-aliasing -fwrapv > -DHAVE_CHICKEN_CONFIG_H

Re: [Chicken-hackers] [PATCH] Use noreturn attribute in clang versions which support it

2013-10-23 Thread Moritz Heidkamp
Hi, Peter Bex writes: > Fixing this got rid of all the warnings, except one, which exposed > a small bug which is also a minor inefficiency: C_2_divide will call > C_fix() on an integer value, which in case of flonums will not be > initialised. In cases of flonums, it will be initialised, but it

Re: [Chicken-hackers] [PATCH] Another subtle GC problem

2013-10-23 Thread Peter Bex
On Wed, Oct 23, 2013 at 11:43:24AM +0200, Moritz Heidkamp wrote: > looks OK and works fine AFAICT. Pushed! Thanks! > > When shrinking the heap, this check won't need to be run because > > we've just done a GC, so there *should be* no pressure on > > the nursery, so it won't get copied to the heap

Re: [Chicken-hackers] [PATCH] `##sys#find-files' bug fix: handle dot files recursively

2013-10-23 Thread Christian Kellermann
* Mario Domenech Goulart [131021 13:16]: > Please, consider the updated attached patch instead, since it contains a > test case. I have pushed this yesterday, sorry for the late response. Thanks, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attackin

Re: [Chicken-hackers] [PATCH] Another subtle GC problem

2013-10-23 Thread Moritz Heidkamp
Hi, Peter Bex writes: > I decided to take another look at the GC in an attempt to > understand it better, and found yet another iffy line of code: > > When comparing the heap growth to the current heap size plus > the stack size, two unsigned quantities are subtracted from > eachother (size is a