Uli's 9:01 PM Law
When your compiler balks at you:
SUUtilities.m:21: warning: no previous prototype for 'SUHostAppName'
but you have a prototype in the header that looks like this:
NSString *SUHostAppName();
You nit are writing C++ code in C again. C requires a void to indicate empty parameter lists, otherwise your prototype will be considered being an empty K&R-style parameter list and will effectively be wasted characters. Change it to:
NSString *SUHostAppName( void );
and everything will be fine. |