diff --git a/configure.py b/configure.py index 4b5b274a..84a62cb8 100755 --- a/configure.py +++ b/configure.py @@ -1127,7 +1127,7 @@ else: n.newline() n.variable("host_cflags", "-I include/ -Wno-trigraphs") n.variable("host_cppflags", - "-std=c++98 -I include/ -fno-exceptions -fno-rtti -D_CRT_SECURE_NO_WARNINGS -Wno-trigraphs") + "-std=c++98 -I include/ -fno-exceptions -fno-rtti -D_CRT_SECURE_NO_WARNINGS -Wno-trigraphs -Wno-c++11-extensions") ### # Rules diff --git a/include/dolphin/types.h b/include/dolphin/types.h index 2a32bb54..fc63ba67 100644 --- a/include/dolphin/types.h +++ b/include/dolphin/types.h @@ -71,11 +71,15 @@ typedef int BOOL; #ifndef final #define final #endif + +#if defined(__MWERKS__) #ifndef override #define override #endif #endif +#endif + #ifndef ATTRIBUTE_ALIGN #if defined(__MWERKS__) || defined(__GNUC__) #define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))