Re: [Chicken-users] chicken 4.8.0.5 on cygwin - stty ECHOPRT

2014-03-30 Thread Claude Marinier
On Sun, 30 Mar 2014, Claude Marinier wrote: I just built chicken 4.8.0.5 on MS Windows Vista with a somewhat recent cygwin. The installation process went well but csi could not find parley. Turns out parley needs stty which did not compile because it cannot find the symbol ECHOPRT. I removed

Re: [Chicken-users] chicken 4.8.0.5 on cygwin - stty ECHOPRT

2014-03-30 Thread John Cowan
Claude Marinier scripsit: I neglected to mention that removing references to ECHOPRT in stty is not a proper solution; it just allowed me to use Chicken on MS Windows. In fact, ECHOPRT should simply be flushed. It is not part of Posix, and is in fact useful only on long-obsolete printing

[Chicken-users] Bug fix for bind 1.5.2

2014-03-30 Thread Daniel Leslie
The following should fix passing objects by reference in member functions: *** ./bind/bind-translator.scm2014-03-30 12:49:46.902558238 -0700 --- ../bind/bind-translator.scm2014-03-30 12:48:47.290262641 -0700 *** *** 1298,1303 --- 1298,1304 [('const t) (rec

Re: [Chicken-users] chicken 4.8.0.5 on Cygwin - static build

2014-03-30 Thread Peter Bex
On Sun, Mar 30, 2014 at 04:20:19PM -0400, Claude Marinier wrote: On Sat, 29 Mar 2014, Claude Marinier wrote: Does anyone know how to compile a static program under Cygwin? It cannot find a library; the name may be cygchicken0.a (I switched back to debian and cannot remember exactly). Here

[Chicken-users] Another patch for bind 1.5.2

2014-03-30 Thread Daniel Leslie
This adds support for public fields in C++ classes. *Woefully* untested. IE: echo class foo { public: float a, b; }; | chicken-bind - -o - Produces: ;;; GENERATED BY CHICKEN-BIND FROM - (begin (begin (declare (hide g0)) (define-class foo (c++-object) ())) (begin (define g0

[Chicken-users] More work on bind: nested structs, unions and enums in c++11 classes

2014-03-30 Thread Daniel Leslie
The following now create meaningful output: echo class foo { public: union { float x, y; }; }; | ./chicken-bind - -o - echo class foo { public: enum { quo, qid }; }; | ./chicken-bind - -o - echo class foo { public: enum bar { quo, qid }; }; | ./chicken-bind - -o - I've started a branch on