[PATCH] Improve portability

Dan Fandrich dan at coneharvesters.com
Sun Sep 6 07:18:33 UTC 2009


On Sun, Sep 06, 2009 at 02:59:59AM -0400, Mike Frysinger wrote:
> i'm not really interested in what random compilers allow -- what does the spec 
> say ?  my understanding is that math on a void pointer should be the same as a 
> number.

The comp.lang.c FAQ references ISO Sec. 6.1.2.5, Sec. 6.3.6 when it claims
that arithmetic on void *'s is disallowed.
http://c-faq.com/ansi/voidparith.html

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 288 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090906/da8b7195/attachment.pgp>


More information about the busybox mailing list