Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!decwrl!bacchus.pa.dec.com!decatl!laura.alf.dec.com!hoyt From: hoyt@laura.alf.dec.com (Kurt Hoyt) Newsgroups: comp.unix.ultrix Subject: Re: Does PMAX Ultrix 4.0 cc *fully* support void pointers? Keywords: brain damage Message-ID: <1990Aug27.150046.12957@decatl.dec.com> Date: 27 Aug 90 15:00:46 GMT References: <263@talarian.UUCP> Sender: news@decatl.dec.com (USENET News System) Reply-To: hoyt@laura.alf.dec.com (Kurt Hoyt) Organization: Digital Equipment Corporation Lines: 29 In article <263@talarian.UUCP>, scott@talarian.UUCP (Scott Weitzenkamp) writes: > 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? Yes. > While I'm complaining, does the Ultrix 4.0 cc support the ANSI C > "const" keyword? Not yet: % cc -c foo.c ccom: Warning: foo.c, line 3: "const" is reserved for future use const char *fred = "fred"; -------------^ ..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:.. Kurt in Atlanta "More than 4 billion chickens in America hoyt@decatl.enet.dec.com each year do not have a single happy moment hoyt@laura.alf.dec.com in their lives." -- PETA News