Same here. I got so many warnings and errors while building this on ML using Xcode 4.4 but I finally built it successfully after some debugging. I don't get the same error in Growl.app, you may want to re-clone or update again to 1.4 tag. For MailMe, I just edited:
NSString *userAtHostPort = [NSString stringWithFormat: (port != nil) ? @"%@@%@:%@" : @"%@@%@", <-this part, I'm not an expert so I can't tell what should be done but from what I can tell the format string must match the number of arguments below? username, hostname, port]; <- Data argument not used by format string For other errors I got such as Format String Errors, I just changed them to what was suggested. On Thursday, August 2, 2012 4:36:21 AM UTC+8, GingerPrince wrote: > > Hi > > I've checked out the source code for tag 1.4 and I'm trying to build it on > Mountain Lion using xcode 4.4. > > I'm getting errors in GrowlApp and MailMe that prevent it building. I > don't understand how I could have a tagged set of source that doesn't build? > > The errors are : > Growl.app - GrowlDisplayWindowController.m > > > [existingInstances setObject:classInstances forKey:self]; <- incompatible > pointer types sending 'Class' to parameter of type 'id<NSCopying>' > > > [windowTransitions setObject:transition forKey:[transition class]]; <- > incompatible pointer types sending 'Class' (aka 'Class *')to parameter of > type 'id<NSCopying>' > > > and > > > MailMe - GrowlMailMeDisplay.m > > > NSString *userAtHostPort = [NSString stringWithFormat: > > (port != nil) ? @"%@@%@:%@" : @"%@@%@", > > username, hostname, port]; <- Data argument not used by format string > > > Anyone give me any pointers as to what is wrong? > > > cheers > > Matt > > > -- You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/growldiscuss/-/Zu8Tm6BeWI0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.
