delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/12:33:24

From: kaz AT cafe DOT net (Kaz Kylheku)
Newsgroups: comp.lang.c,comp.os.msdos.djgpp
Subject: Re: Casting void pointers
Organization: Internet Direct
Lines: 11
Sender: bill AT espresso DOT cafe DOT net
Message-ID: <6mokmc$v0d@espresso.cafe.net>
References: <6mkaos$k7o AT dfw-ixnews6 DOT ix DOT netcom DOT com> <358DC1FA DOT 443E297D AT cs DOT com> <898511636snz AT genesis DOT demon DOT co DOT uk> <358F273A DOT 8845B85F AT cs DOT com>
Reply-To: kaz AT cafe DOT net
Date: Tue, 23 Jun 1998 16:27:28 GMT
NNTP-Posting-Host: 204.244.119.1
NNTP-Posting-Date: Tue, 23 Jun 1998 09:27:28 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <358F273A DOT 8845B85F AT cs DOT com>, John M. Aldrich <fighteer AT cs DOT com> wrote:
 >tested it with '-ansi' and got the following warning:
 >
 >void.c: In function `main':
 >void.c:10: warning: ANSI forbids initialization between function pointer
 >and `void *'
 >
 >So you're right.  Thanks for pointing out the mistake.

Well yes; in comp.lang.c we tend to read the same standard as do the GCC
developers. :)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019