URL:
<http://gna.org/bugs/?22351>
Summary: "cast increases required alignment of target type"
(cast-align) warnings on ARM
Project: Freeciv
Submitted by: jtn
Submitted on: Tue 15 Jul 2014 22:01:52 BST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.4.1, trunk r24312
Discussion Lock: Any
Operating System: GNU/Linux
Planned Release:
_______________________________________________________
Details:
Split from bug #21386 comment 5 <http://gna.org/bugs/?21386#comment5>. Précis
below, full details in that comment
On Debian Wheezy on ARMv5.
Two basic errors:
freeciv-2.4.1/client/gui-gtk-2.0/chatline.c
chatline.c: In function 'scroll_if_necessary':
chatline.c:550:34: error: cast increases required alignment of target type
[-Werror=cast-align]
chatline.c: In function 'chatline_is_scrolled_to_bottom':
chatline.c:974:34: error: cast increases required alignment of target type
[-Werror=cast-align]
mpgui_gtk2.c: In function ‘pbar_callback’:
mpgui_gtk2.c:144:33: error: cast increases required alignment of target type
[-Werror=cast-align]
(I suspect this is the tip of the iceberg. Bug #21703 suggests this sort of
naughtiness is causing actual trouble on ARM.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22351>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev