Enable override for host compiler

This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-08 16:10:44 +02:00
parent 77bf0d656b
commit b30f6910b7
No known key found for this signature in database
GPG Key ID: E224F951761145F8
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)))