--- a/sql/sql_yacc.yy 2022-11-15 02:10:21.000000000 +0800 +++ b/sql/sql_yacc.yy 2023-04-21 12:14:10.000000000 +0800 @@ -333,7 +333,7 @@ %{ /* avoid unintentional %union size increases, it's what a parser stack made of */ -static_assert(sizeof(YYSTYPE) == sizeof(void*)*2+8, "%union size check"); +/* static_assert(sizeof(YYSTYPE) == sizeof(void*)*2+8, "%union size check"); */ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize); %}