mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Avoid warning with GCC on FreeBSD 6.2 in `numbers.c'.
This commit is contained in:
parent
6d4e1f627e
commit
7a35784c6b
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-07 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* numbers.c (scm_from_complex_double): Mark as `SCM_UNUSED'.
|
||||
This fixes compilation with `-Werror' on FreeBSD 6.2 (i386).
|
||||
|
||||
2008-05-05 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* c-tokenize.lex: #define YY_NO_INPUT.
|
||||
|
|
|
@ -170,8 +170,10 @@ xisnan (double x)
|
|||
#define SCM_COMPLEX_VALUE(z) \
|
||||
(SCM_COMPLEX_REAL (z) + GUILE_I * SCM_COMPLEX_IMAG (z))
|
||||
|
||||
static inline SCM scm_from_complex_double (complex double z) SCM_UNUSED;
|
||||
|
||||
/* Convert a C "complex double" to an SCM value. */
|
||||
static SCM
|
||||
static inline SCM
|
||||
scm_from_complex_double (complex double z)
|
||||
{
|
||||
return scm_c_make_rectangular (creal (z), cimag (z));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue