From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=E6=9D=8E=E5=BE=AE?= To: 9fans <9fans@cse.psu.edu> Content-Type: text/plain Date: Sat, 12 Nov 2005 18:00:36 +0800 Message-Id: <1131789636.7582.55.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [9fans] USED() macro Topicbox-Message-UUID: ab6a8bbc-ead0-11e9-9d60-3106f5b1d025 In plan9port, USED() is defined as #define USED(x) if(x){}else{} Does it mean that USED() can only be applied on variables of "scalar types"? But r is of a struct type in void drawresizewindow(Rectangle r) { USED(r); bad(); } in $PLAN9/src/libdraw/nowsys-wsys.c. When compiling, 9c complains on that. A bug? Or an extension of Plan 9's C dialect?