URL:
<http://gna.org/bugs/?22872>
Summary: sdl-client compilation failure with -O3
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 26 Oct 2014 11:59:56 AM EET
Category: client-sdl
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.5.0-beta2, 2.6.0
_______________________________________________________
Details:
client/gui-sdl/dialogs.c: In function 'popup_races_dialog':
client/gui-sdl/dialogs.c:3505:18: error: 'pBuf' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
pBuf->size.x = area.x + area.w / 2 + (area.w / 2 - pBuf->size.w) / 2;
^
client/gui-sdl/dialogs.c:3179:52: note: 'pBuf' was declared here
struct widget *pWindow, *pWidget = NULL, *pBuf, *pLast_City_Style;
Seems more like failing diagnostics than real bug to me, but should be fixed
before 2.5.0-beta2, I think, as we've had previous releases compiling with
-O3. (Note that this was just the first compilation failure with it, there
might be more once going past this)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22872>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev