mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
No more flexible array members (not standard C++) (#1307)
* Replace FAMs with `std::vector`s (or one `std::string`) in four `struct`s * Anonymous types declared in an anonymous union are also non-standard Only Clang complains about this (-Wnested-anon-types)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
DEF warn_unique EQUS "WARN \"\\@!\""
|
||||
|
||||
macro m
|
||||
warn_unique
|
||||
REPT 2
|
||||
warn_unique
|
||||
ENDR
|
||||
warn_unique
|
||||
warn_unique
|
||||
REPT 2
|
||||
warn_unique
|
||||
ENDR
|
||||
warn_unique
|
||||
endm
|
||||
; TODO: Ideally we'd test now as well, but it'd cause a fatal error
|
||||
;warn_unique
|
||||
|
||||
Reference in New Issue
Block a user