chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] mathh failure with csc -optimize-level 3


From: Robert Altenburg
Subject: [Chicken-users] mathh failure with csc -optimize-level 3
Date: Sat, 14 Jan 2017 22:17:14 -0500

Hi All,

I ran across this today when a project worked fine from csi but failed to
compile.  It turns out I copied a makefile from another project that was
setting optimize-level 3. While this works at level 2 or below, at 3 it
fails as follows:

csc -optimize-level 3 test.scm
test.c:213:4: warning: implicit declaration of function
      'stub177' is invalid in C99
      [-Wimplicit-function-declaration]
t6=stub177(t4,t5);
   ^
1 warning generated.

Is this a bug that others can replicate? Any idea what's going on?

--
Rob Altenburg

;------ example --------
(use mathh)

(define (factorial x)
  (gamma (+ 1 x)))

(factorial 9)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]