From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <307e6ea2aed293668f8a7caacb1b5e2b@quintile.net> From: "Steve Simon" Date: Mon, 2 Mar 2009 15:23:01 +0000 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] type signatures Topicbox-Message-UUID: ab780112-ead4-11e9-9d60-3106f5b1d025 Hi, I get a different type sygnature depending on weather the arg to a function contains members which are in scope or not - is this expected or a bug? for example: /* junk.c */ typedef struct unknown unknown; #ifdef DEF struct unknown { int a; }; #endif typedef struct arg arg; struct arg { unknown *u; // Note pointer, not instance }; void func(arg a) { USED(a); } larch% 8c -T t.c && nm -T junk.8 b0b8ed37 T func larch% 8c -T -DDEF t.c && nm -T junk.8 763b103c T func -Steve