Xref: utzoo comp.sys.ibm.pc.rt:1012 comp.unix.aix:100 comp.lang.c:22447 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!utoday!comeau From: comeau@utoday.UUCP (Greg Comeau) Newsgroups: comp.sys.ibm.pc.rt,comp.unix.aix,comp.lang.c Subject: Re: void * not handled in AIX C compiler ? Keywords: AIX C ANSI Message-ID: <989@utoday.UUCP> Date: 3 Oct 89 22:30:02 GMT References: <159@eliza.edvvie.at> Reply-To: comeau@.UUCP (Greg Comeau) Organization: UNIX Today!, Manhasset, NY Lines: 13 In article <159@eliza.edvvie.at> johnny@edvvie.at (Johann Schweigl) writes: >AIX C... Declaring a variable as void * does not work. The effect is the same >as if the variable had never been defined. Example: > main() { void *foo; int bar; foo = &bar;} >results in: > >"foo.c", line 6: foo undefined >"foo.c", line 6: warning: illegal combination of pointer and integer, op = > >which is not quite correct. You do not appear to be wrong. Although the warning is approopriate, the error is not.