From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 9 Feb 2007 01:28:08 +0800 From: Lee Duhem To: 9fans@cse.psu.edu Subject: [9fans] 8c's feature or bug? Message-ID: <20070208172808.GA9111@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Topicbox-Message-UUID: 0ed7f1b6-ead2-11e9-9d60-3106f5b1d025 Hi all, Is this a feature or bug of 8c? Look at this: term% cat t.c #include #include #define ARGS(list) list void foo ARGS((char)); void foo1 ARGS((int)); void main(void) { foo('s'); foo1(1); exits(nil); } void foo (b) char b; { } void foo1 (b) int b; { } term% 8c -FVw t.c t.c:17 function inconsistently declared: foo warning: t.c:17 param declared and not used: b warning: t.c:22 param declared and not used: b My question is: Why I get the "function inconsistently declared" error? or Why I'm not get the same error about foo1? Lee