I think C takes a more low-level approach and says "void * is just an address void * + 1 means the next valid address".
This is not true.
The ANSI C standard forbids arithmetic on void * pointers, just as C++ does.
GNU gcc has supported void * arithmetic for a long time as an extension, but it's not standard behavior and you should not rely on it.
Tim Kientzle
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"