diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-17 10:08:01 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-17 10:08:01 -0600 |
commit | c21916ad8a315a9dd7f23bf9aef0576975470a5a (patch) | |
tree | 736a1f8f77c0387660da9e0e2b59cc585af13f49 /sd | |
parent | 270967f340670189e42939d9432e28e8259feefc (diff) |
pragma GCC diagnostic is not available for 4.0.1
Change-Id: I4aa9fb45c391c8b17d713e77a8a6e3338005441b
Diffstat (limited to 'sd')
-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: */ |