(no subject)

2004-04-25 Thread Andreas Vögele
If Guile CVS is built with --disable-deprecated GCC 3.4 fails to build eval.c. The problem is that the function scm_macroexp() is used in line 1941 of eval.c. The prototype is not declared in eval.h if deprecated functions are disabled and the function definition starts further below in line

MIN macro in numbers.c causes build problems on HP-UX

2004-04-25 Thread Andreas Vögele
On HP-UX, the macros MIN and MAX are defined in sys/param.h which is included by limits.h. There's an unconditional definition of MIN in the CVS version of numbers.c which clashes with HP's definition. Here's the error message: ./guile-snarf -o numbers.x numbers.c -DHAVE_CONFIG_H -I.. -I..

Small patch for srfi-19.test on HP-UX

2004-04-25 Thread Andreas Vögele
The time zone CET does not exist on HP-UX. The following patch modifies srfi-19.test so that the time zone MEZ-1MESZ is used on HP-UX. Index: srfi-19.test === RCS file: /cvsroot/guile/guile/guile-core/test-suite/tests/srfi-19.test,v

date-week-number test in srfi-19.test

2004-04-25 Thread Andreas Vögele
I'm wondering whether the second date-week-number test at the end of srfi-19.test or the SRFI 19 implementation is broken. The second tests is supposed to return 0: (with-test-prefix date-week-number (pass-if (= 0 (date-week-number (make-date 0 0 0 0 1 1 1984 0) 0))) (pass-if (= 0

(no subject)

2004-04-25 Thread Hyperdivision
Subject: line 82 in libguile/num2integral.c this one better? otherwise i get address of __gmpz_fits_[su]int_p will always evaluate to true when compiling with gcc-cvs and halts with an error. diff -Naur guile-core.orig/libguile/num2integral.i.c guile-core/libguile/num2integral.i.c ---

off-by-one error in SRFI 19's date-week-number procedure?

2004-04-25 Thread Andreas Vögele
While browsing Guile's regression tests I came across the following test which checks the procedure date-week-number: (with-test-prefix date-week-number (pass-if (= 0 (date-week-number (make-date 0 0 0 0 1 1 1984 0) 0))) (pass-if (= 0 (date-week-number (make-date 0 0 0 0 7 1 1984 0)

affectate

2004-04-25 Thread Carmelo Wilson
Mauro # The cablefilterz will allow you to receive all the channels that you order with your remote control,} payperviews,aXXXmovies,sport events,special-events* http://www.9001hosting.com/cable/ procreate ,baptist . ___ Bug-guile mailing list

Re: MIN macro in numbers.c causes build problems on HP-UX

2004-04-25 Thread Kevin Ryde
Andreas Vögele [EMAIL PROTECTED] writes: I suggest to remove the MIN macro from numbers.c. Instead, the lower case macro min, which is definded in _scm.h anyway, can be used. Sounds fair. I'm wondering why the MIN macro was introduced at all. I think I missed seeing that min() existed