Kaydet (Commit) c21916ad authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

pragma GCC diagnostic is not available for 4.0.1

Change-Id: I4aa9fb45c391c8b17d713e77a8a6e3338005441b
üst 270967f3
......@@ -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,\
......
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment