Tom Hughes [mailto:[email protected]]
> [email protected] wrote:
> > However it is possible to pack the structs without holes...
> You're going to recompile glibc and all the other libraries that your
> program uses with that option are you?

And, of course, if you don't, structs passed between packed and unpacked
code aren't compatible. Members of the structs will be at different 
offsets as far the two sets of code are concerned. The effects of this
are 
undefined in the most comprehensive sense of the term: your computer is 
quite unlikely to catch fire, but if it does, it was your fault. 

-- 
John Dallman
Parasolid Porting Engineer


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to