mirror of
https://github.com/frida/tinycc
synced 2025-02-20 01:04:10 +03:00
clang7 does not support zero sized structs
This happens with aarch64 on raspberry pi.
This commit is contained in:
parent
8f9bf3f223
commit
89ea62481d
@ -2659,7 +2659,11 @@ struct myspace {
|
||||
short int profile;
|
||||
};
|
||||
struct myspace2 {
|
||||
#if CC_NAME == CC_clang /* clang7 doesn't support zero sized structs */
|
||||
char a[1];
|
||||
#else
|
||||
char a[0];
|
||||
#endif
|
||||
};
|
||||
struct myspace3 {
|
||||
char a[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user