bug#13757: Problems with Guile's number printer

2013-02-19 Thread Andy Wingo
Hi, I'm redirecting the number printing conversation to bug-guile, so that we can track it. Thanks for the debugging! On Tue 19 Feb 2013 00:12, Mark H Weaver writes: > Andy Wingo writes: > >> On Wed 23 Jan 2013 13:20, Daniel Llorens writes: >> >>> scheme@(guile-user)> (f64vector-ref #s64(1 2

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Andy Wingo
On Thu 02 Feb 2012 18:34, Eli Zaretskii writes: > . module/ice-9/boot-9.scm -- absolute-path? does not support Windows > file names with drive letters. Windows > absolute file names match the regex > "\([a

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Ludovic Courtès
Andy Wingo skribis: > +(let-syntax ((compile-time-case > + (lambda (stx) > +(syntax-case stx () > + ((_ exp clauses ...) > + (let ((val (primitive-eval (syntax->datum #'exp > + (let next-clause ((clauses #'(cl

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Andy Wingo
Hi, On Tue 19 Feb 2013 13:55, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> + (compile-time-case (system-path-convention) >> +((posix) >> + (define (path-separator? c) >> + (char=? c #\/)) >> + >> + (define path-separator-string "/") >> + >> + (define (

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Andy Wingo
Hi Eli, On Thu 02 Feb 2012 18:34, Eli Zaretskii writes: > . module/ice-9/boot-9.scm -- absolute-path? does not support Windows > file names with drive letters. Windows > absolute file names match the regex >

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Eli Zaretskii
> From: Andy Wingo > Cc: l...@gnu.org, 10...@debbugs.gnu.org > Date: Tue, 19 Feb 2013 11:44:35 +0100 > > > . module/ice-9/boot-9.scm -- absolute-path? does not support Windows > > file names with drive letters. Windows > > absolute fi

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Eli Zaretskii
> From: Andy Wingo > Cc: l...@gnu.org, 10...@debbugs.gnu.org, > Date: Tue, 19 Feb 2013 16:47:02 +0100 > > Hi Eli, > > On Thu 02 Feb 2012 18:34, Eli Zaretskii writes: > > > . module/ice-9/boot-9.scm -- absolute-path? does not support Windows > > file names with d

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Andy Wingo
Hi Eli, Sorry for the large number of mails. You sent this patch: On Thu 02 Feb 2012 18:34, Eli Zaretskii writes: > Avoid compiler warnings on MS-Windows. > > * libguile/print.c (display_string_using_iconv): Cast 2nd arg of > `iconv' to `const char **', to avoid compiler warn

bug#10474: Building guile 2.x under mingw + msys

2013-02-19 Thread Andy Wingo
Hi, On Tue 19 Feb 2013 18:53, Eli Zaretskii writes: >> + (define (unc-path?) >> + ;; Universal Naming Convention (UNC) paths start with \\, and >> + ;; are always absolute. >> + (string-prefix? "" path)) > > A UNC file name can also begin with 2 slashes, as in "

bug#13768: --without-posix code uses scm_getpid() in libguile-2.0.2

2013-02-19 Thread Jan Schukat
I'm experimenting a little with statically linking a minimal build of libguile. So while no one really would want to build it it with --without-posix (except when you want the same functionality on all platforms including windows in your program), and this is a low priority bug and I can easily