RE: [AD] Allegro 5 new config routines, alpha 1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: [AD] Allegro 5 new config routines, alpha 1

> IMHO, casting (char*) to (unsigned short*) is asking for troubles.

Especially as I still haven't got around to grokking the new
aliasing rules. Casting (though it's fine with char derived
types, AFAIK) will possibly generate bad code. Have anyone
thought of this already ? I must say I'm quite uncomfortable
with this issue.
There are indeed quite a lot of casts in Allegro.

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/