-
Notifications
You must be signed in to change notification settings - Fork 485
Closed
Milestone
Description
On Buildroot, we detect build failures when using uClibc-ng, see http://autobuild.buildroot.org/?reason=libtomcrypt-1.18.0.
The build.log shows a conflict with wchar_t
In file included from ./src/headers/tomcrypt.h:88:0,
from src/ciphers/anubis.c:16:
./src/headers/tomcrypt_pk.h:678:17: error: conflicting types for 'wchar_t'
typedef ulong32 wchar_t;
^~~~~~~
In file included from ./src/headers/tomcrypt.h:16:0,
from src/ciphers/anubis.c:16:
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.3.0/include/stddef.h:328:24: note: previous declaration of 'wchar_t' was here
typedef __WCHAR_TYPE__ wchar_t;
^~~~~~~
This piece of code https://github.com/libtom/libtomcrypt/blob/develop/src/headers/tomcrypt_pk.h#L669-L680 is not suitable with uClibc.
Metadata
Metadata
Assignees
Labels
No labels