mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-24 10:00:07 +08:00
produce a more informative error message when _Thread_local is used
This commit is contained in:
parent
894e166ecf
commit
ab39d34dde
2
tccgen.c
2
tccgen.c
@ -4662,6 +4662,8 @@ static int parse_btype(CType *type, AttributeDef *ad, int ignore_label)
|
||||
if (type1.ref)
|
||||
sym_to_attr(ad, type1.ref);
|
||||
goto basic_type2;
|
||||
case TOK_THREAD_LOCAL:
|
||||
tcc_error("_Thread_local is not implemented");
|
||||
default:
|
||||
if (typespec_found)
|
||||
goto the_end;
|
||||
|
Loading…
Reference in New Issue
Block a user