> > DJ Delorie wrote: > >> However, the C++ definition has been amended at the last Lillehammer > >> meeting to allow that cast as "conditionally supported": either it is > >> valid or it errors out. the compiler has to tell. > > > > Also, the mechanism to create multiple pointer sizes > > (attribute((mode))) is a GCC extension. > > I'm very suspicious of allowing users to specify this via attributes. > Having pointers-to-objects or pointers-to-functions with different sizes > (within one of those classes) seems problematic, but perhaps you can say > more about how you expect this to work in the presence of conversions > and such.
Aren't there some targets (like ia64-hpux) that support two different sizes of pointers, it also be nice to be able for the user access to them also from a high level so they can write code that can call between the two ABIs. -- Pinski