<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
</span>Do you start from offsetof() or the expanded form? For various reasons,<br>
it is normally defined to use __builtin_offsetof, since the problems you<br>
have run into also stop the "legacy" C version from being appropoiate<br>
for C++ as it doesn't create an ICE.<br></blockquote><div><br>I start with a macro, but I was considering expanding it to pointer 
arithmetic, to avoid creating special operators such as 
__builtin_offsetof.   Would that be considered a bad idea? <br></div></div><br></div></div>