bugFreeciv - Bugs: bug #20731, startpos_iter_init(): warning:...

Show feedback again

bug #20731: startpos_iter_init(): warning: type-punning to incomplete type might break strict-aliasing rules

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Tue Apr 9 21:23:00 2013  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Apr 9 21:23:00 2013, original submission:

In passing in bug #20057, David Fernandez observed (2012 Aug 28):


[...] now I get a different error:



(He said "I'm using ubuntu 9.04 that I can no longer update", so presumably the GCC version was whatever was current in that release.)

The line pointed to on trunk at the time was

Just raising this so we don't lose it. I've not tried to reproduce the warning -- maybe it's been resolved in the months since, in which case close the ticket. (But there do seem to be shenanigans in this area; see startpos_iter_sizeof() for instance.)

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)
  • -unavailable- added by jtn

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Apr 9 21:23:00 2013jtnCarbon-Copy-=>Added bardo
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup