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.

  - Per

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

Reply via email to