TCC now supports m-generic
This commit is contained in:
1 parent
cc97aa887f
commit
ab75397e21
2 files changed
+1
-6
No files matched your search
@@ -9407,9 +9407,6 @@ If no type is associated to this variable, an error is reported by the compiler.
|
|||||||
|
|
||||||
This header needs a C23 compliant compiler or a C11 compiler providing the typeof extension (like GCC, CLANG, MSVC).
|
This header needs a C23 compliant compiler or a C11 compiler providing the typeof extension (like GCC, CLANG, MSVC).
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> TCC is not supported yet due to some bugs in the compiler.
|
|
||||||
|
|
||||||
This provides the same level of flexibility of the C++. However, there is some drawbacks of using this generic interface:
|
This provides the same level of flexibility of the C++. However, there is some drawbacks of using this generic interface:
|
||||||
|
|
||||||
* Error messages can be more complex,
|
* Error messages can be more complex,
|
||||||
|
|||||||
@@ -29,9 +29,7 @@
|
|||||||
#include "coverage.h"
|
#include "coverage.h"
|
||||||
|
|
||||||
// Generic is not supported if not C11
|
// Generic is not supported if not C11
|
||||||
// TCC has some issues in the preprocessing.
|
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||||
// See https://lists.nongnu.org/archive/html/tinycc-devel/2023-12/msg00004.html
|
|
||||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && !defined(__TINYC__)
|
|
||||||
|
|
||||||
ARRAY_DEF(array_int, int)
|
ARRAY_DEF(array_int, int)
|
||||||
#define M_OPL_array_int_t() ARRAY_OPLIST(array_int, M_BASIC_OPLIST)
|
#define M_OPL_array_int_t() ARRAY_OPLIST(array_int, M_BASIC_OPLIST)
|
||||||
|
|||||||
Reference in new issue
Block a user