2f9effeb64
Apple changed some enums in the 10.11 SDK from being just: enum { ... }; typedef uint64_t Foo; to: typedef CF_ENUM(uint64_t, Foo) { ... }; which in C++11 mode expands to: typedef enum Foo : uint64_t Foo; enum Foo : uint64_t { ... }; The use of strongly typed enums means we need to explicitly cast from int in the places where we know what we are doing. Change-Id: I7c8cfdbc0549471a3292de14d8b766fe17133e25 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> |
||
---|---|---|
.. | ||
BLACKLIST | ||
expectedeventlist.cpp | ||
expectedeventlist.h | ||
macnativeevents.pro | ||
nativeeventlist.cpp | ||
nativeeventlist.h | ||
qnativeevents_mac.cpp | ||
qnativeevents.cpp | ||
qnativeevents.h | ||
tst_macnativeevents.cpp |