I can't link against the Growl framework in my garbage collected Leopard app unless Growl is garbaged collected as well. So, I compiled Growl as garbaged collected. Now, it looks like System Preferences doesn't accept this:
10/26/07 9:46:17 PM [0x0-0x257257].com.Growl.GrowlHelperApp[7410] objc[7410]: '/System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes' was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC
10/26/07 9:46:17 PM [0x0-0x257257].com.Growl.GrowlHelperApp[7410] objc[7410]: *** GC capability of application and some libraries did not match
10/26/07 9:46:21 PM com.apple.launchd[94] ([0x0-0x257257].com.Growl.GrowlHelperApp[7410]) Exited abnormally: Illegal instruction
Anyone linking against Growl on a garbage collected app?
Linking Growl Framework in Garbage Collected Leopard App
-
cacaosteve
- Harmless
- Posts: 2
- Joined: Sat Oct 27, 2007 4:50 am
All of Growl shouldn't be garbage-collected. System Preferences wouldn't be a likely GC candidate because then all preference panes would have to be GC (it's not mix and match opt-in.) Only the framework itself should be recompiled, and really you should wait until we provide a GC variant of the framework (all 3rd party frameworks are going to have such an adjustment phase.)
Try my software!
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
-
cacaosteve
- Harmless
- Posts: 2
- Joined: Sat Oct 27, 2007 4:50 am
No of coursecacaosteve wrote:I am compiling Growl-WithInstaller.framework, course. The solution is to compile it with GC on, then copy the non-GC Growl.prefPane.zip into Growl-WithInstaller.framework/Versions/A/Resources.
It works!!!!!
Try my software!
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?