mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-04 10:28:45 +08:00
Remove _Static_assert verifying the size of CString because it breaks C99 builds with gcc-5
This commit is contained in:
parent
78c3ea30a6
commit
9957c686a4
1
tcc.h
1
tcc.h
@ -500,7 +500,6 @@ typedef struct CString {
|
|||||||
int size_allocated;
|
int size_allocated;
|
||||||
void *data; /* either 'char *' or 'nwchar_t *' */
|
void *data; /* either 'char *' or 'nwchar_t *' */
|
||||||
} CString;
|
} CString;
|
||||||
_Static_assert(sizeof(CString) == 16, "CString should only require 16 bytes");
|
|
||||||
|
|
||||||
/* type definition */
|
/* type definition */
|
||||||
typedef struct CType {
|
typedef struct CType {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user