[Buildroot] isalnum_l and friends
Max Filippov
jcmvbkbc at gmail.com
Mon Feb 3 18:49:39 UTC 2020
Hi Waldemar,
there's an example of buildroot package that fails to build when using
isalnum_l:
http://autobuild.buildroot.net/results/b7ba1210d5aa184b133f0171da621d2b0083ec39/build-end.log
AFAICS include/ctype.h defines the following chain of macros for it:
isalnum_l -> __isalnum_l -> __isctype_l
and __isctype_l tries to dereference __ctype_b field in the l parameter
which is of incomplete type.
The easiest fix for that seems to be not providing macro definitions for
isalnum_l and friends.
I also tried to follow the way it was intended to work with macros, but
that seemed a bit too convoluted.
What do you think the fix could be?
--
Thanks.
-- Max
More information about the buildroot
mailing list