Am Montag, 10. März 2008 23:17:17 schrieb Per Inge Mathisen:
> On Mon, Mar 10, 2008 at 11:11 PM, Dennis Schridde <[EMAIL PROTECTED]> 
wrote:
> >  > I can't think of a single bug caused by wrong inheritance, actually.
> >  > What warnings?
> >
> >  Currently, in all that casting, we have some pretty hard to fix cases
> > (imo) of type-punning. And since type-punning during strict-aliasing
> > causes bad code, I would assume some of the "why does this unit explode
> > even though no one ever shot it" bugs or "why did the value of this
> > variable became wrong" anomalies are caused by that.
>
> I find that very hard to believe, especially since we have seen the
> exact same problems with builds without strict aliasing (ie with
> --enable-debug=yes).
>
> Worst case, we can disable strict aliasing for all build types.
All I know is that type-punning while strict aliasing can lead to serious 
problems, eg. the problems described above.

--Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to