From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [IPv6:2a0c:5a00:149::26]) by sourceware.org (Postfix) with ESMTPS id 3C6793858C31 for ; Mon, 2 Oct 2023 08:38:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C6793858C31 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bothner.com Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qnES5-007FUF-A7 for kawa@sourceware.org; Mon, 02 Oct 2023 10:38:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bothner.com ; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID; bh=7p7nMRm+Jf5D5vYTudSO4KPLXyNN+BF674Nf4j/jj5A=; b=frDopQ/RqRvQU2LNR8Sjinr2tk XJipmREBzSPRRKtivX1q+n22QxN/FMAkdeebjEW9qFIPE33NhhMurZiS/OX2tvCgQOw9K7xH6Buq/ 5li9ODvsIpxBgWQrEoWqJGL1oIUd9N1SoFVBvGp0/QhGgtKBvVIOK335X+a4jujyVopYIyOHsTT+c nd2yMDXRbnwI+iFzYZ+1aE+rOobxSine0RPWW1ZTDqXQf93ejjFHTjdiumXjLDz8f/E+wFXtNUnLB 9TFeXjxnrIVmLXrxwEF0wrcXyILpTi5mH9nJKdpCd/0MoJji5wFozp4XF+8vYgjWczfiFjbirIDlT OmfFTh1g==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qnES4-0007dg-IZ; Mon, 02 Oct 2023 10:38:52 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qnERt-0005cX-Qq; Mon, 02 Oct 2023 10:38:42 +0200 Message-ID: Date: Mon, 2 Oct 2023 01:38:31 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: warning of missing declaration function but code works Content-Language: en-US To: Damien Mattei , kawa mailing list References: From: Per Bothner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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/