fluiday / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

Need to compile with GC support #312

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current Leopard focused release of MacFUSE does not have GC enabled for the 
framework.

Bummer -- MacFUSE can't be used in a GC enabled Cocoa application.

(I have the source checked out and can do a pass at conversion, but wanted to 
ensure this bug was 
in the queue.)

Original issue reported on code.google.com by bbumgar...@gmail.com on 10 Jan 2008 at 7:38

GoogleCodeExporter commented 8 years ago
I agree that it should be done. I spoke with the poster of the issue, and he did
manage to take a pass through the code to make sure it would work and tried 
things
out with GC enabled. It sounds like it works fine, so this is something we'd
definitely like to support.

Original comment by inaddr...@gmail.com on 11 Jan 2008 at 8:02

GoogleCodeExporter commented 8 years ago
Some details:

- to enable GC, simply turn the garbage collection build setting in the 
framework project to "supported".   
This will compile dual mode code that will work on both Leopard and Tiger as 
long as you don't use an weak 
references (which wouldn't make sense to use in dual mode code anyway).

- I inspected all of the -dealloc methods in the MacFuse codebase.  They all 
manage nothing but memory -- 
only releasing objects.  Perfect;  no need for -finalize.   Keep it that way. :)

Original comment by bbumgar...@gmail.com on 11 Jan 2008 at 8:07

GoogleCodeExporter commented 8 years ago
Change to project.pbxproj committed at revision 770. GC will be in the next 
release
and it couldn't have been any easier.  Thanks to bbumgarner for looking this 
over in
detail.

Original comment by inaddr...@gmail.com on 29 Jan 2008 at 6:19