All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] isalnum_l and friends
@ 2020-02-03 18:49 Max Filippov
  0 siblings, 0 replies; only message in thread
From: Max Filippov @ 2020-02-03 18:49 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-03 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 18:49 [Buildroot] isalnum_l and friends Max Filippov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.