Bug#871114: widelands: FTBFS: game_settings.h:52:8: error: 'newuser.UserSettings::position' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Markus Koschany apo at debian.org
Wed Aug 23 22:20:08 UTC 2017


Control: tags -1 pending

Am 23.08.2017 um 21:56 schrieb Hans Joachim Desserud:
> Control: tags -1 confirmed
> Control: forwarded -1 https://bugs.launchpad.net/widelands/+bug/1695879
> 
> Hello
> 
> We ran into the same issue upstream a while back when attempting to
> build with GCC7,
> see [1] for details. The issue was fixed, and since we expected distros
> would switch to GCC7
> as the default compiler at some point the changes was also backported to
> our build19 branch.
> You can find the specific patch at [2] or [3] for the whole branch.
> (Note that the branch
> also includes a fix for the wrong en_GB translations [4], so you might
> want to include that at
> the same time)
> 
> Hope this helps. Let us know if you have any comments or questions. :)
> 
> [1] https://bugs.launchpad.net/widelands/+bug/1695879
> [2] http://bazaar.launchpad.net/~widelands-dev/widelands/b19/revision/8149
> [3] https://code.launchpad.net/~widelands-dev/widelands/b19
> [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853052

Funny. It seems we worked on this bug at the same time. I can confirm
that [2] resolved the FTBFS with GCC 7. However it was not clear to me
how [3] could fix [4]. I suggest to add a simple patch to bug reports
next time which tremendously simplifies things for non-regular uploaders
of Widelands.

Anyway I believe this bug should be fixed in a couple of minutes. Thank
you for your assistance.

Regards,

Markus



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170824/c1479556/attachment.sig>


More information about the Pkg-games-devel mailing list