On 24.07.2023 21:23, Sagar Acharya via Tinycc-devel wrote:
I'm building tcc on voidlinux with gcc as below
./configure --config-musl
make
On 'make test'
+In file included from 124_atomic_counter.c:3:
+In file included from /usr/include/stdlib.h:19:
+/usr/include/bits/alltypes.h:18: error: incompatible redefinition of 'wchar_t'
make[3]: *** [Makefile:131: 124_atomic_counter.test] Error 1
wchar_t of TCC is from stddef.h:
typedef __WCHAR_TYPE__ wchar_t;
and
__WCHAR_TYPE__
is defined for platforms in tccdefs.h.
Maybe need to tweak that for your platform.
Look at the alltypes.h...
-- gr
Thanking you
Sagar Acharya
https://humaaraartha.in
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel