|Subject:||Re: [Tinycc-devel] C11 __STD_NO_THREADS__ and __STD_NO_ATOMICS__ are not defined|
|Date:||Fri, 10 Jan 2020 06:12:26 +0100|
C11 defines thoses macros (section 126.96.36.199) with __STDC_ prefix (not __STD_) and they exist with tcc when you pass –std=c11 flag. They are undefined with default flags.
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On Behalf Of UnknownGamer40464 .
These macros do not appear to be defined by the compiler, resulting in code that selects for custom implementations instead using the nonexistent standard versions anyways, despite the compiler not supporting either one.
Without these definitions, I can't have TCC select for a custom implementation of the C11 threading or atomics API.
Would it be possible to have the compiler define them?
Also thanks for all your work so far keeping TCC alive.
|[Prev in Thread]||Current Thread||[Next in Thread]|