🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3191

Re: call to revolt

#3191
From: Georg Wittig
Date: Wed, 26 Jun 1991 08:08
16 lines
831 bytes
rabson@physics.ubc.ca (David Rabson) writes:


>		void *thing;
>		((int *)thing)++;

Why don't you write

	(*((int**)&thing))++;}

? gcc thinks it's o.k.
-- 
Georg Wittig   GMD-Z1.IT   P.O.Box 1240 | "Freedom's just another word
D-W-5205 St. Augustin 1	   (Germany)	|  for nothing left to lose"
email:		wittig@gmdzi.gmd.de	| (from "Me and Bobby McGee",
telephone:	(+49) 2241 14-2294	|  Janis Joplin, Kris Kristofferson)
Technical Details
Message-ID: <5004@gmdzi.gmd.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!gmdzi!wittig
References: <rabson.677868220@physics.ubc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!gmdzi!wittig
From: wittig@gmdzi.gmd.de (Georg Wittig)
Newsgroups: comp.std.c
Subject: Re: call to revolt
Message-ID: <5004@gmdzi.gmd.de>
Date: 26 Jun 91 08:08:34 GMT
References: <rabson.677868220@physics.ubc.ca>
Organization: GMD - The German National Research Center for Computer Science
Lines: 16