call to revolt

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Thu Jun 27 03:33:10 AEST 1991


I don't understand. Is this whole ``call to revolt'' simply because
someone can't translate

   char *x;
   x += sizeof(int);

into void * terminology? Here goes:

   void *x;
   x = (void *) (sizeof(int) + (char *) x);

Sheesh. By the way, anyone who thinks that the ``safety'' of void *
outweighs the portability of char * must live in a very limited
environment. (An environment where you write code which only runs on one
machine fits my definition of limited.)

---Dan



More information about the Comp.std.c mailing list