bugFreeciv - Bugs: bug #20057, Error when trying to compile with...

 
 
Show feedback again

bug #20057: Error when trying to compile with --enable-debug

Submitted by:  David Fernandez <bardo>
Submitted on:  Sun 12 Aug 2012 05:30:08 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: Operating System: GNU/Linux
Planned Release: 2.4.0, 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 28 Aug 2012 02:46:26 AM UTC, comment #5:

Your patch fixes the reported error, thank you. But now I get a different error:

trunk:

S_4:

David Fernandez <bardo>
Sun 26 Aug 2012 08:11:53 PM UTC, comment #4:

Assuming that the patch fixed the original problem.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 26 Aug 2012 08:11:16 PM UTC, SVN revision 21841:

Do not cast away "const" keyword from signal name.

Reported by David Fernandez

See gna bug #20057

(Browse SVN revision 21841)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 26 Aug 2012 08:11:08 PM UTC, SVN revision 21840:

Do not cast away "const" keyword from signal name.

Reported by David Fernandez

See gna bug #20057

(Browse SVN revision 21840)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed 22 Aug 2012 11:15:58 PM UTC, comment #1:

There was even FIXME comment about the ugly cast to remove 'const'. One should never use such a cast.

Patch attached.

(file #16421)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 12 Aug 2012 05:30:08 PM UTC, original submission:

When I try to compile the code with debug enabled (I have tested svn trunk and also S2_4 beta), I get this compilation error:

I'm using ubuntu 9.04 that I can no longer update, I guess this could be the reason.

David Fernandez <bardo>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by bardo (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Aug 2012 08:11:53 PM UTCcazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Wed 22 Aug 2012 11:15:58 PM UTCcazfiAttached File-=>Added AvoidSignalNameConstAway.patch, #16421
      CategoryNone=>general
      StatusNone=>Ready For Test
      Planned Release=>2.4.0, 2.5.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup