From 9957c686a47dec15563abbe1d679cfff53f4a910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Nordl=C3=B6w?= Date: Wed, 28 Dec 2022 00:31:14 +0100 Subject: [PATCH] Remove _Static_assert verifying the size of CString because it breaks C99 builds with gcc-5 --- tcc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tcc.h b/tcc.h index baae6705..8ef9ad28 100644 --- a/tcc.h +++ b/tcc.h @@ -500,7 +500,6 @@ typedef struct CString { int size_allocated; void *data; /* either 'char *' or 'nwchar_t *' */ } CString; -_Static_assert(sizeof(CString) == 16, "CString should only require 16 bytes"); /* type definition */ typedef struct CType {