History

Remove _Static_assert verifying the size of CString because it breaks C99 builds with gcc-5

Per Nordlöw committed 3 years ago

Commit 9957c681 parent 78c3ea31 file · +0 −1Browse files

Unified · Split

tcc.h+0−1
@@ -500,7 +500,6 @@ typedef struct CString { · 499 unmodified lines
500 int size_allocated;500 int size_allocated;
501 void *data; /* either 'char *' or 'nwchar_t *' */501 void *data; /* either 'char *' or 'nwchar_t *' */
502} CString;502} CString;
503_Static_assert(sizeof(CString) == 16, "CString should only require 16 bytes");
504 503
505/* type definition */504/* type definition */
506typedef struct CType {505typedef struct CType {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t