bugFreeciv - Bugs: bug #21098, Compiler warning in...

 
 
Show feedback again

bug #21098: Compiler warning in check_edited_tile_terrains() in non-debug builds

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Tue 03 Sep 2013 11:20:07 PM UTC  
 
Category: bootstrapSeverity: 2 - Minor
Priority: 5 - NormalStatus: Duplicate
Assigned to: NoneOpen/Closed: Closed
Release: 2.4.0-RC2Operating System: GNU/Linux
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 31 Oct 2013 12:38:58 AM UTC, comment #1:

bug #21237 is newer duplicate of this, but it has patch.

Marko Lindqvist <cazfi>
Project Administrator
Tue 03 Sep 2013 11:20:07 PM UTC, original submission:

Noticed scrolling by when making a non-debug build of 2.4.0-RC2:

The relevant code:

sanity_check_tile() decays to nothing in non-debug, non-beta builds, so the ptile declared by tile_hash_iterate() becomes useless.

Jacob Nevins <jtn>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

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 cazfi (Posted a comment)
  • -unavailable- added by jtn (Submitted the item)
  •  

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 31 Oct 2013 12:38:58 AM UTCcazfiCategoryNone=>bootstrap
      StatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup