diff options
-rw-r--r-- | sd/Library_sd.mk | 3 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/OSXBluetooth.mm | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk index 49678453b132..6a967c563ab4 100644 --- a/sd/Library_sd.mk +++ b/sd/Library_sd.mk @@ -543,7 +543,8 @@ else $(eval $(call gb_Library_add_objcxxobjects,sd,\ sd/source/ui/remotecontrol/BluetoothServer \ - sd/source/ui/remotecontrol/OSXBluetooth \ + sd/source/ui/remotecontrol/OSXBluetooth,\ + -Wno-error \ )) $(eval $(call gb_Library_add_libs,sd,\ diff --git a/sd/source/ui/remotecontrol/OSXBluetooth.mm b/sd/source/ui/remotecontrol/OSXBluetooth.mm index 1d4a3f07810a..ef1b7000eab4 100644 --- a/sd/source/ui/remotecontrol/OSXBluetooth.mm +++ b/sd/source/ui/remotecontrol/OSXBluetooth.mm @@ -6,7 +6,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - #include <osl/conditn.hxx> // Include this early to avoid error as check() gets defined by some SDK header to empty #include <premac.h> @@ -43,12 +42,6 @@ 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: */ |