Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!att!dptg!ulysses!andante!alice!andrew From: andrew@alice.UUCP (Andrew Hume) Newsgroups: comp.lang.c Subject: ansi weirdness Message-ID: <11305@alice.UUCP> Date: 7 Sep 90 13:01:34 GMT Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 12 the following C fragment fails with a strict ANSI compiler (lcc) but compiles with sloppy ones (e.g. gcc): typedef int (*fn)(struct x *); extern int fn1(struct x *); extern fn *fp = fn1; the ostensible reason is that the two struct x's are different (or at least, have different scopes). this may be technically correct but is just wrong. can anyone explain why anyone would want this batshit behaviour?