On 2009/2/8, Bruno Wolff III wrote:
> GCC 4.4 landed in rawhide yesterday and I just tried building it using the
> autotools build stuff.

> ai.cpp:1905: error: dereferencing pointer '<anonymous>' does break 
> strict-aliasing rules
> /usr/lib/gcc/i386-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_tree.h:259:
>  note: initialized from here

I don't have gcc 4.4 at hand, and I may not have the same version of
ai.cpp (so I am possibly looking at the wrong place), but the AI code
does not seem to be breaking aliasing rules. As a matter of fact, just
looking at the error message, it seems like the bug is not in Wesnoth
but in gcc or libstdc++.

That being said, I'm all for being proactive and supporting
soon-to-be-released compilers.

Best regards,

Guillaume

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to