OSXWindow: ignore deprecated warnings

We can't fix them yet because our continuous testing doesn't compile
with the updated definitions yet.

BUG=angleproject:1598

Change-Id: I40bdeaa6bafbd03b5e3e6c16ac8485e3f488fe59
Reviewed-on: https://chromium-review.googlesource.com/406452
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Corentin Wallez 2016-11-02 14:11:01 -04:00 коммит произвёл Commit Bot
Родитель 2dacfb2a6d
Коммит b526f54104
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,12 @@
#include "common/debug.h"
// On OSX 10.12 a number of AppKit interfaces have been renamed for consistency, and the previous
// symbols tagged as deprecated. However we can't simply use the new symbols as it would break
// compilation on our automated testing that doesn't use OSX 10.12 yet. So we just ignore the
// warnings.
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
// Some events such as "ShouldTerminate" are sent to the whole application so we keep a list of
// all the windows in order to forward the event to each of them. However this and calling pushEvent
// in ApplicationDelegate is inherently unsafe in a multithreaded environment.