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)
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to