summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/remotecontrol/OSXBluetooth.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/OSXBluetooth.mm b/sd/source/ui/remotecontrol/OSXBluetooth.mm
index 2c21e698b15e..1d4a3f07810a 100644
--- a/sd/source/ui/remotecontrol/OSXBluetooth.mm
+++ b/sd/source/ui/remotecontrol/OSXBluetooth.mm
@@ -43,6 +43,12 @@
pSocket = NULL;
}
+// The Xcode 3 compiler warns if we don't implement all methods of the
+// IOBluetoothRFCOMMChannelDelegate protocol. In later SDKs they are
+// marked as @optional.
+
+#pragma GCC diagnostic ignored "-Wprotocol"
+
@end
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */