Follow-up Comment #10, bug #12638 (project wesnoth):
If I apply the chrber's patch to 1.5.6 release's source code (without
--disable-strict-compilation in configure) I get this error:
cc1plus: warnings being treated as errors
ai_python.cpp: In static member function ‘static void
python_ai::initialize_python()’:
ai_python.cpp:2099: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2100: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2101: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2102: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2103: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2104: error: dereferencing type-punned pointer will break
strict-aliasing rules
ai_python.cpp:2105: error: dereferencing type-punned pointer will break
strict-aliasing rules
make[1]: *** [ai_python.o] Error 1
make[1]: Leaving directory
`/home/valdar/projects/archlinux/packages/unsupported/games/wesnoth-devel/src/wesnoth-1.5.6/src'
make: *** [install-recursive] Error 1
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12638>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs