The macro conflicts (=> redef warnings in a simple hello world) with a definition introduced by glibc headers and it's probably not "necessary" anyway since clang doesn't use it.
Unified · Split
| @@ -1830,7 +1830,13 @@ reparse: · 1829 unmodified lines | |||
| 1830 | * wchar_t, has the same value as the short | 1830 | * wchar_t, has the same value as the short |
| 1831 | * identifier of that character. | 1831 | * identifier of that character. |
| 1832 | */ | 1832 | */ |
| 1833 | #if 0 | ||
| 1834 | /* on Linux, this conflicts with a define introduced by | ||
| 1835 | * /usr/include/stdc-predef.h included by glibc libs; | ||
| 1836 | * clang doesn't define it at all so it's probably not necessary | ||
| 1837 | */ | ||
| 1833 | tcc_define_symbol(s, "__STDC_ISO_10646__", "201605L"); | 1838 | tcc_define_symbol(s, "__STDC_ISO_10646__", "201605L"); |
| 1839 | #endif | ||
| 1834 | /* | 1840 | /* |
| 1835 | * The integer constant 1, intended to indicate | 1841 | * The integer constant 1, intended to indicate |
| 1836 | * that values of type char16_t are UTF−16 | 1842 | * that values of type char16_t are UTF−16 |