STC icon indicating copy to clipboard operation
STC copied to clipboard

Unable to build in TCC (c11 Atomic features?)

Open rishavs opened this issue 2 years ago • 0 comments

Running the examples in TCC, throws this error;

...> tcc -Iincludes .\pixel.c -o pixel.exe; .\pixel.exe
In file included from ./pixel.c:2:
In file included from includes/stc/vec.h:65:
includes/stc/types.h:104: error: ';' expected (got "catomic_long")

My understanding is the atomics are not in c99 but in c11. Would it be correct to say that STC needs C11 instead of C99, or am i doing something wrong? From TCC maillists, it seems that TCC now supports all c99 features.

rishavs avatar Jan 22 '24 11:01 rishavs