Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/macx
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2015-11-21 18:38:31 +0300
committerMikkel Krautz <mikkel@krautz.dk>2015-11-21 18:46:03 +0300
commitb0d53e1f86c4af577889809cf57b60e4f2ee1d7c (patch)
treee8a4c26ff2a31de72175708a0a408c36c274e3d2 /macx
parent8ea17403458d0814d5e9d0d3732e034710de2a52 (diff)
compiler.pri: unsure that all our compiler.pri CFLAGS and CXXFLAGS are also applied for Objective-C(++).
...And fix all the errors that change introduces throughout the source tree.
Diffstat (limited to 'macx')
-rw-r--r--macx/compat/compat.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macx/compat/compat.m b/macx/compat/compat.m
index 8e1a899b5..aca251eb6 100644
--- a/macx/compat/compat.m
+++ b/macx/compat/compat.m
@@ -31,11 +31,16 @@
#import <AppKit/AppKit.h>
@interface CompatApp : NSObject
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
+<NSFileManagerDelegate>
+#endif
@end
@implementation CompatApp
- (void) applicationDidFinishLaunching:(NSNotification *)notification {
+ (void)notification;
+
NSAlert *alert = [NSAlert alertWithMessageText:@"Mumble" defaultButton:@"OK" alternateButton:nil otherButton:@"Visit Website"
informativeTextWithFormat:@"This version of Mumble only runs on 64-bit Intel Macs.\n\n"
"Please download the Universal version from the Mumble website instead.\n"];
@@ -53,6 +58,9 @@
@end
int main(int argc, char *argv[]) {
+ (void)argc;
+ (void)argv;
+
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
CompatApp *app = [[CompatApp alloc] init];
[NSApplication sharedApplication];