Article View: comp.sys.ibm.pc.rt
Article #373Re: void * not handled in AIX C compiler ?
From: Greg Comeau
Date: Tue, 03 Oct 1989 22:30
Date: Tue, 03 Oct 1989 22:30
13 lines
954 bytes
954 bytes
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.
Technical Details
Message-ID:
<989@utoday.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!utoday!comeauReferences:
<159@eliza.edvvie.at>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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