Enable override for host compiler

Former-commit-id: b30f6910b7
This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-08 16:10:44 +02:00
parent 864a83a0c6
commit d6a754e555
2 changed files with 5 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ else:
n.newline() n.newline()
n.variable("host_cflags", "-I include/ -Wno-trigraphs") n.variable("host_cflags", "-I include/ -Wno-trigraphs")
n.variable("host_cppflags", 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 # Rules

View File

@ -71,11 +71,15 @@ typedef int BOOL;
#ifndef final #ifndef final
#define final #define final
#endif #endif
#if defined(__MWERKS__)
#ifndef override #ifndef override
#define override #define override
#endif #endif
#endif #endif
#endif
#ifndef ATTRIBUTE_ALIGN #ifndef ATTRIBUTE_ALIGN
#if defined(__MWERKS__) || defined(__GNUC__) #if defined(__MWERKS__) || defined(__GNUC__)
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num))) #define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))