Just a quick update. I'm on it: https://github.com/flycheck/flycheck/pull/987
:) Manuel Uberti https://manuel-uberti.github.io GPG fingerprint = 8702 9F53 2466 A6B5 E3F4 6B44 4E57 A6C4 CAA4 8F62 On 01/06/16 12:49, Manuel Uberti wrote: > Hi everybody, > > those of you who were on the #chicken IRC yesterday may remember my cumbersome > tries with this. Since I am not always able to be on IRC all the time, I'll > try > with a email. > > I'm working on a syntax checker for Flycheck (on Emacs). Following Mario > Goulart > tips, I am using this: > > csc -A -M -P <filename.scm> > > I've attached the files I am working on. As you can see, there's a main file > (stitchcounter.scm) and a unit (io-utils.scm). > > If I do this: > > csc -A -M -P stitchcounter.scm > > I get this: > > Warning: reference to possibly unbound identifier `get-num' in: > Warning: pick > Warning: option-2 > Warning: option-1 > > Error: module unresolved: main > > Error: shell command terminated with non-zero exit status 256: > '/usr/local/bin/chicken' 'stitchcounter.scm' -output-file 'stitchcounter.c' > -analyze-only -module -check-syntax > > I see 2 problems here: > > - I don't understand the warnings: get-num is defined in io-utils.scm and > stitchcounter.scm uses it correctly (I can produce a binary compiling those 2 > files) > > - the Error terminated abruptly and so the syntax checker in Flycheck doesn't > work > > > Any ideas? > > > Kind regards > > > > _______________________________________________ > Chicken-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-users > _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
