Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ‘__ctype_touplow_t’ and ‘__ctype_mask_t’ does not name a type
@ 2013-03-14 19:07 Jorge Ventura
  2013-03-15  9:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Jorge Ventura @ 2013-03-14 19:07 UTC (permalink / raw)
  To: buildroot

Hi,

I am trying to compile one code and I am getting the following errors:

buildroot-2013.02/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.6.3/../../../../i586-buildroot-linux-uclibc/include/c++/4.6.3/i586-buildroot-linux-uclibc/bits/ctype_base.h:47:19:
*error: ?__ctype_touplow_t? does not name a type*

buildroot-2013.02/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.6.3/../../../../i586-buildroot-linux-uclibc/include/c++/4.6.3/i586-buildroot-linux-uclibc/bits/ctype_base.h:51:13:
*error: ?__ctype_mask_t? does not name a type*

Taking a look in the source ctype_base.h I found the comment:

namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION

  /// @brief  Base class for ctype.
  struct ctype_base
  {
    *// Note: In uClibc, the following two types depend on configuration.*

    // Non-standard typedefs.
    typedef const __ctype_touplow_t* __to_type;

    // NB: Offsets into ctype<char>::_M_table force a particular size
    // on the mask type. Because of this, we don't use an enum.
    typedef __ctype_mask_t      mask;
    static const mask upper     = _ISupper;
    static const mask lower     = _ISlower;
    static const mask alpha     = _ISalpha;

It seems that something is missing in my uClibc configuration that cause
the two types be undefined or another include is missing in the code that I
am trying to compile.

Someone has any clue about this problem?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130314/8ae45925/attachment.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-18 20:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 19:07 [Buildroot] ‘__ctype_touplow_t’ and ‘__ctype_mask_t’ does not name a type Jorge Ventura
2013-03-15  9:54 ` Thomas Petazzoni
2013-03-15 13:51   ` Jorge Ventura
2013-03-15 14:00     ` Thomas Petazzoni
2013-03-15 15:07     ` Thomas Petazzoni
2013-03-15 15:29       ` Jorge Ventura
2013-04-18 20:45       ` ANDY KENNEDY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox