[Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread felix winkelmann
Hi! A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. I've forgotten the updated NEWS file at home and will post a list of changes later. Thanks. cheers, felix ___ Chicken-users

[Chicken-users] New user-interface egg: slang.egg

2007-02-26 Thread Tony Sidaway
S-Lang (also known as slang or SLang, I'll call it slang from now on) is a very well established, well supported, text-based user interface. John E. Davis used slang to produce his slrn Usenet newsreader and the JED text editor, and the mutt mailer and lynx web browser also use slang's display

[Chicken-users] Problem mapping to unsigned char *

2007-02-26 Thread Tony Sidaway
The nearest thing we have for mapping unsigned char * is c-string, but using that interface makes a compiler complaint of the following type: slang.c:1254: warning: pointer targets in passing argument 1 of 'SLang_buffer_keystring' differ in signedness This is just a niggle, really, because it

Re: [Chicken-users] Problem mapping to unsigned char *

2007-02-26 Thread John Cowan
Tony Sidaway scripsit: The nearest thing we have for mapping unsigned char * is c-string, but using that interface makes a compiler complaint of the following type: slang.c:1254: warning: pointer targets in passing argument 1 of 'SLang_buffer_keystring' differ in signedness Actually,

Re: [Chicken-users] Problem mapping to unsigned char *

2007-02-26 Thread Tony Sidaway
On 2/26/07, John Cowan [EMAIL PROTECTED] wrote: Actually, it's architecture dependent whether char is a synonym for signed char or for unsigned char. Rather than complicating the interface, I'd rather live with the gcc warning. Yes, you would want to use c-string without a sign qualification

Re: [Chicken-users] Problem mapping to unsigned char *

2007-02-26 Thread John Cowan
Tony Sidaway scripsit: Yes, you would want to use c-string without a sign qualification if the sign is to be decided by the compiler. It's when the programmer makes a choice (presumably because it matters at some semantic level or other) that I'd suggest that the foreign interface should

[Chicken-users] Re: New user-interface egg: slang.egg

2007-02-26 Thread felix winkelmann
On 2/26/07, Tony Sidaway [EMAIL PROTECTED] wrote: On 2/26/07, Tony Sidaway [EMAIL PROTECTED] wrote: I've wrapped many of this library's display and keyboard control routines in a new egg, slang.egg. Um yes, The all-important details follow:

[Chicken-users] Safe interrupt handlers?

2007-02-26 Thread Tony Sidaway
An interrupt handler written in Chicken Scheme probably can't do a lot without knocking over a heap of dominoes. Nevertheless, would a simple lambda that only changes a top level flag variable be stable enough to be useful? This is often all that posix interrupt handlers written in C do anyway.

[Chicken-users] Re: Safe interrupt handlers?

2007-02-26 Thread Tony Sidaway
To clarify my earlier post, procedure sigX-handler should be executed when the interrupt fires. The procedure handle-sigX is executed by the program when it polls the signal flag and finds it in a set state. ___ Chicken-users mailing list

[Chicken-users] exit code

2007-02-26 Thread Nico Amtsberg
Hello everyone, I have a strange problem with some chicken code here (mainly involves bb.egg and some opengl code - but that's not important for the moment). My program quits with error messages like Error: call of non-procedure: error in error and a backtrace of ##sys#setter calls. Can the

Re: [Chicken-users] Safe interrupt handlers?

2007-02-26 Thread John Cowan
Tony Sidaway scripsit: An interrupt handler written in Chicken Scheme probably can't do a lot without knocking over a heap of dominoes. Nevertheless, would a simple lambda that only changes a top level flag variable be stable enough to be useful? This is often all that posix interrupt

Re: [Chicken-users] Safe interrupt handlers?

2007-02-26 Thread Kon Lovett
On Feb 26, 2007, at 8:02 AM, John Cowan wrote: Tony Sidaway scripsit: An interrupt handler written in Chicken Scheme probably can't do a lot without knocking over a heap of dominoes. Nevertheless, would a simple lambda that only changes a top level flag variable be stable enough to be

Re: [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread John Cowan
felix winkelmann scripsit: Hi! A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. Works fine under Cygwin with CMake. -- In politics, obedience and support John Cowan [EMAIL PROTECTED] are the same thing. --Hannah Arendt

Re : [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread minh thu
2007/2/26, John Cowan [EMAIL PROTECTED]: felix winkelmann scripsit: Hi! A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. Works fine under Cygwin with CMake. Is it interesting to mention it works under ubuntu with

Re: [Chicken-hackers] Re: [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread Kon Lovett
On Feb 26, 2007, at 10:29 AM, Brandon J. Van Every wrote: John Cowan wrote: felix winkelmann scripsit: Hi! A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. Works fine under Cygwin with CMake. Builds and installs fine

[Chicken-users] swig and c++ and stuff

2007-02-26 Thread Tony Sidaway
I tried a big SWIG wrap on part of a C++ library. This generated a .cxx wrap file and a .scm file. The build sequence I'm using is this: $(CHICKEN) tvision.scm -output-file otvision.c $(CXX) --shared otvision.c tvision_wrap.cxx -o tvision.so `rhtv-config --include` `rhtv-config

Re: [Chicken-users] swig and c++ and stuff

2007-02-26 Thread Ivan Raikov
What version of SWIG are you using? I've seen this problem with versions prior to 1.3.29. -Ivan Tony Sidaway [EMAIL PROTECTED] writes: I tried a big SWIG wrap on part of a C++ library. This generated a .cxx wrap file and a .scm file. The build sequence I'm using is this:

Re: [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread Mario Domenech Goulart
Hi Felix and folks, On Mon, 26 Feb 2007 09:12:58 +0100 felix winkelmann [EMAIL PROTECTED] wrote: A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. I could build, install and run the benchmarks on the following systems: OS

Re: [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread felix winkelmann
Everybody, Many many thanks for testing so thoroughly the build! (BTW, what I usually do is to chicken-setup and run some egg with a lot of dependencies in an empty repository (for example bloom-filter)). cheers, felix ___ Chicken-users mailing

Re: [Chicken-users] swig and c++ and stuff

2007-02-26 Thread felix winkelmann
On 2/26/07, Tony Sidaway [EMAIL PROTECTED] wrote: I tried a big SWIG wrap on part of a C++ library. This generated a .cxx wrap file and a .scm file. The build sequence I'm using is this: $(CHICKEN) tvision.scm -output-file otvision.c $(CXX) --shared otvision.c tvision_wrap.cxx

Re: [Chicken-users] Release candidate for 2.6 available

2007-02-26 Thread Graham Fawcett
On 2/26/07, felix winkelmann [EMAIL PROTECTED] wrote: Hi! A release canditate for CHICKEN 2.6 is now available at the web-site. If you find the time, please give it a try. I've done a build and a Cowan-test on (solaris-unix-gnu-sparc). All seems well. Graham

Re: [Chicken-users] swig and c++ and stuff

2007-02-26 Thread Tony Sidaway
On 2/26/07, felix winkelmann [EMAIL PROTECTED] wrote: The missing symbol is strange, though. Check the _wrap.cxx file and the binaries with nm (and c++filt genRefs() only appears as a friend function in the class prototypes; it isn't implemented so it doesn't belong in the wrap. I removed