warning of missing declaration function but code works

Per Bothner per@bothner.com
Mon Oct 2 08:38:31 GMT 2023



On 10/1/23 23:44, Damien Mattei via Kawa wrote:
> hello,
> is there something to do to remove this sort of warnings on code working:
> 
> i searched about java declaration, but instead C++ none are required/existing...
> 
> bash-3.2$ kawa -f curly-infix2prefix.scm
> /Users/mattei/Dropbox/git/AI_Deep_Learning/exo_retropropagationNhidden_layers_matrix_v2-curly+.rkt
> curly-infix2prefix.scm:21:21: warning - no declaration seen for
> process-input-code-tail-rec

Well, you could use the flag --warn-undefined-variable=no

However, I recommend figuring out why the warnings are being emitted, and fixing that.
For one thing, you're likeky to get better performance if the compiler knows
what is going on.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/


More information about the Kawa mailing list