[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Error in latest mob on aarch64-musl build
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Error in latest mob on aarch64-musl build |
Date: |
Wed, 26 Jul 2023 12:23:40 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
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