Xref: utzoo comp.unix.questions:25007 comp.unix.ultrix:4329 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!talarian!scott From: scott@talarian.UUCP (Scott Weitzenkamp) Newsgroups: comp.unix.questions,comp.unix.ultrix Subject: Does PMAX Ultrix 4.0 cc *fully* support void pointers? Keywords: brain damage Message-ID: <263@talarian.UUCP> Date: 26 Aug 90 22:24:35 GMT Followup-To: comp.unix.ultrix Lines: 28 We have a DECstation 3100 with Ultrix 3.0. One of the bugs in cc is that it does not have complete support for void pointers. For example, the following code will *not* compile: int foo(void *ptr) { printf("%d\n", ptr); } Is this bug fixed in cc on Ultrix 4.0? If not, then why the hell not? Why bother having prototypes and other ANSI features if you don't fully support something as simple (IMHO) as void pointers? Most of the pcc-based cc's that I've come across (SunOS 3.x and 4.x, System V/386 3.2) at least allow void pointers as function parameters. While I'm complaining, does the Ultrix 4.0 cc support the ANSI C "const" keyword? -- Thanks in advance... Scott Weitzenkamp, Talarian Corporation, Mountain View, CA uunet!talarian!scott (415) 965-8050 "Welcome to the late show, starring NULL and void" -- Men At Work