Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Bug in DEC's C compiler(s) Message-ID: <1990Jan3.163821.27312@utzoo.uucp> Organization: U of Toronto Zoology References: <1528@utkcs2.cs.utk.edu> Date: Wed, 3 Jan 90 16:38:21 GMT In article <1528@utkcs2.cs.utk.edu> battle@alphard.cs.utk.edu (David Battle) writes: >I seem to have discovered a bug in DEC's Ultrix C compilers. The bug >exhibits itself on both vax and mips architectures. The problem is that >it seems to ignore objects declared as "void *"... >Am I missing something here, or is this a real bug? Yes. :-) What you've missed is that K&R2 describes ANSI C, and many C compilers have not yet been updated to fully conform to the (draft) standard. However, this is arguably a bug -- they've had plenty of warning about what they ought to be implementing. -- 1972: Saturn V #15 flight-ready| Henry Spencer at U of Toronto Zoology 1990: birds nesting in engines | uunet!attcan!utzoo!henry henry@zoo.toronto.edu