bugGNUstep - Bugs: bug #25546, libgc7.1 need GC_PTR no more

Group
 
 

bug #25546: libgc7.1 need GC_PTR no more

Submitter:  Lu Liyi <luliyi1024>
Submitted:  Tue 10 Feb 2009 02:15:21 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 10 Feb 2009 02:38:25 PM UTC, comment #1: 

Thanks, I experimented with it using libgc stable (6.8), and evne though the functions are declared as taking GC_PTR arguments, it seems that no cast is required, so I've removed that.

Richard Frith-Macdonald <CaS>
Group Member
Tue 10 Feb 2009 02:15:21 PM UTC, original submission:  

libgc7.1 remove the GC_PTR macro, so

file: core/base/Source/NSZone.m
line: 1921
  GC_unregister_disappearing_link((GC_PTR*)destination);
and line: 1924
  GC_general_register_disappearing_link((GC_PTR*)destination, source);

maybe no need to do casting:
  GC_unregister_disappearing_link(destination);
and
  GC_general_register_disappearing_link(destination, source);

Thanks.

Lu Liyi <luliyi1024>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by luliyi1024 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-10 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code