Kaffe runs(!) under VC++
    John D. Gwinner 
    gwinner at northnet.org
       
    Mon Nov  3 04:04:09 PST 1997
    
    
  
Alexandre:
> AFAIK, the ANSI C Standard requires that a pointer to a union must
> have the same alignment requirements that pointers to all the elements
> of the union have, and a pointer to a union can be safely casted to a
> pointer to any of its elements.  Unless M$ is trying to break ANSI C
> too :-), I'd expect VC++ to comply with this rule.
Ok -- that's different than a structure then; a structure layout is not
defined by Ansi C.  I wasn't sure, thanks for jumping in!
Although now that I think about it, it would have to be this way!
		== John ==
    
    
More information about the kaffe
mailing list