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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25546: libgc7.1 need GC_PTR no more

Submitted by:  Lu Liyi <luliyi1024>
Submitted on:  Tue 10 Feb 2009 02:15:21 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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>
Project 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>

 

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 CaS (Posted a comment)
  • -unavailable- added by luliyi1024 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Feb 2009 02:38:25 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1