Update of bug #13711 (project wesnoth):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

As far as I know, there are no bugs in Wesnoth, at least not this one. So I
will close this report. If you still want to report it, please submit it to
GCC and/or SDL.

Indeed, the bug is actually in SDL, which is explicitly breaking aliasing
rules in SDLNet_Read/Write. Fortunately, Wesnoth doesn't do anything else
with the buffers; so, unless there is a severe bug in the compiler, this
can't lead to generating a broken binary.

As for GCC, the bug (or feature, since it is just the compiler being overly
careful) is fixed in 4.5, I think. Rather than disabling strict aliasing, you
should perhaps try to disable warnings about strict aliasing, or simply
configuring Wesnoth in non-strict mode. The engine is already sufficiently
slow as it is, no need to make it worse by disabling optimizations.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13711>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to