From dec959358a2d947e7bad18507394b7057a93fae3 Mon Sep 17 00:00:00 2001 From: seyko Date: Fri, 10 Apr 2015 06:31:58 +0300 Subject: fix the bug #31403: parser bug in structure - a warning: unnamed struct/union that defines no instances - allow a nested named struct declaration w/o identifier only when option -fms-extensions is used --- libtcc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index 533c14d..d33cdb0 100644 --- a/libtcc.c +++ b/libtcc.c @@ -1463,6 +1463,7 @@ static const FlagDef flag_defs[] = { { offsetof(TCCState, char_is_unsigned), FD_INVERT, "signed-char" }, { offsetof(TCCState, nocommon), FD_INVERT, "common" }, { offsetof(TCCState, leading_underscore), 0, "leading-underscore" }, + { offsetof(TCCState, ms_extensions), 0, "ms-extensions" }, }; /* set/reset a flag */ -- cgit v1.3.1