bugcgicc - Bugs: bug #25212, 'sort' undeclared

 
 

bug #25212: 'sort' undeclared

Submitted by:  Robert Schwebel <rschwebel>
Submitted on:  Tue 30 Dec 2008 09:20:36 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: sebastien diaz <sebdiaz>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 30 Dec 2008 09:20:36 AM UTC, original submission:

When built with gcc-4.3.2, cgicc-3.2.7 cannot be compiled any more; sort is now being part of <algorithm> and must be written as ::sort.

cardgame.cpp:1232: error: 'sort' was not declared in this scope
make[2]: *** [cardgame.o] Error 1

The attached patch fixes it.

Robert Schwebel <rschwebel>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27261:  patch-warnings added by None (749B - application/octet-stream - Cardgame is still unwholesome. This patch improves things. Compiling with clang++ (-Wall -Werror) is recommended.)
file #17165:  cgicc-3.2.7-sort-undeclared.diff added by rschwebel (1KiB - text/x-diff - patch to fix this issue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rschwebel (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Jan 2013 06:05:59 PM UTCNoneAttached File-=>Added patch-warnings, #27261
    Wed 21 Jan 2009 09:15:27 PM UTCsebdiazOpen/ClosedOpen=>Closed
    Sat 03 Jan 2009 05:32:12 PM UTCsebdiazStatusIn Progress=>Fixed
    Sat 03 Jan 2009 01:31:45 PM UTCsebdiazStatusNone=>In Progress
    Fri 02 Jan 2009 07:46:14 PM UTCsebdiazAssigned toNone=>sebdiaz
    Tue 30 Dec 2008 09:21:06 AM UTCrschwebelCarbon-CopyRemoved rschwebel=>-
    Tue 30 Dec 2008 09:20:36 AM UTCrschwebelAttached File-=>Added cgicc-3.2.7-sort-undeclared.diff, #17165
      Carbon-Copy-=>Added rschwebel

    Back to the top


    Powered by Savane 3.1-cleanup1