Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.sys.sgi Subject: Re: Another C compiler bug Message-ID: <3702@auspex.auspex.com> Date: 21 Jul 90 17:51:00 GMT References: <3732.26a3b8ff@wums2.wustl.edu> Organization: Auspex Systems, Santa Clara Lines: 19 >Which means SGI C compiler does not allow void type usage as on other >systems. *No* system should let you refer to the non-existent "value" of a "void" object. *Any* system that supports "void *" should, however, let you cast a "void *" to another pointer type. The program in question is doing the latter, not the former. As was noted in another posting, there's a bug in the 3.2 C compiler that causes it not to handle "void *" - I'll bet it was the same bug that got fixed at Sun for SunOS 4.0; it probably is the same bug if the front end of the SGI/MIPS C compiler is PCC-based (basically, the internal code that represents "void *" was originally also the code used for an internal "no type" indication - "void *" wasn't officially in C, but PCC didn't detect it or prohibit it; the change is to use a different code for the "no type" indication).