summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-16 12:39:02 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-16 12:39:02 +0200
commit05dbe2dda095aee2b595a29b95b5952acbe55e67 (patch)
treeea6e18a0346b87c402957697b76aba8315f5d860 /sd
parentbd6201ee4df1b7f54b1e768167a88ea5faa38fcc (diff)
Blind fix for WaE: class does not fully implement protocol
The Xcode 3 compiler warns: class 'ChannelDelegate' does not fully implement the 'IOBluetoothRFCOMMChannelDelegate' protocol. Change-Id: Id468bf7e42e2551fbcc372feefd6ba5967a911fa
Diffstat (limited to 'sd')
-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: */