On 12/12/06, Aurélien Francillon <[EMAIL PROTECTED]> wrote:
Le mardi 12 décembre 2006 09:42, Stephen Chou a écrit:
> "offsetof"
google 2nd link :
http://www.embedded.com/shared/printableArticle.jhtml?articleID=18312031

And in some versions of gcc, it's just "#define offsetof
__builtin_offsetof" (i.e., it's built in to the compiler)...

The reason there is no one definition of offsetof is that the
definitions linked in the article above are non-portable, as they
involve undefined behaviour according to the C standard...

David Gay

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to