public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/14939] New: libstdc++ doesn't compile with uclibc headers
@ 2004-04-13 14:22 bero at arklinux dot org
  2004-04-13 16:49 ` [Bug target/14939] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: bero at arklinux dot org @ 2004-04-13 14:22 UTC (permalink / raw)
  To: gcc-bugs

The problem is that uclibc uses __ctype_touplow_t for its ctype stuff - it's 
typedef'ed to int16_t in uclibc headers. 
 
The error: 
 
In file included from ../../../../libstdc++-v3/src/ctype.cc:76: 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h: 
In constructor `std::ctype<char>::ctype(int*, const short unsigned int*, bool, 
size_t)': 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h:85: 
error: cannot convert `const __ctype_touplow_t*' to `const int*' in assignment 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h:86: 
error: cannot convert `const __ctype_touplow_t*' to `const int*' in assignment 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h: 
In constructor `std::ctype<char>::ctype(const short unsigned int*, bool, 
size_t)': 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h:123: 
error: cannot convert `const __ctype_touplow_t*' to `const int*' in assignment 
/usr/src/ark/BUILD/gcc-3.4.0-20040411/obj-arm-ark-linuxuclibc/arm-ark-linuxuclibc/libstdc++-v3/include/arm-ark-linuxuclibc/bits/ctype_noninline.h:124: 
error: cannot convert `const __ctype_touplow_t*' to `const int*' in assignment 
make[3]: *** [ctype.lo] Error 1

-- 
           Summary: libstdc++ doesn't compile with uclibc headers
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-ark-linux-gnu
  GCC host triplet: i586-ark-linux-gnu
GCC target triplet: arm-ark-linuxuclibc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-14939-5606@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-02-16 23:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-13 14:22 [Bug libstdc++/14939] New: libstdc++ doesn't compile with uclibc headers bero at arklinux dot org
2004-04-13 16:49 ` [Bug target/14939] " pinskia at gcc dot gnu dot org
2004-05-25 14:45 ` [Bug libstdc++/14939] " bkoz at gcc dot gnu dot org
2004-07-26 21:03 ` bkoz at gcc dot gnu dot org
2004-10-25  0:48 ` pinskia at gcc dot gnu dot org
     [not found] <bug-14939-5606@http.gcc.gnu.org/bugzilla/>
2006-02-10 20:16 ` jsm28 at gcc dot gnu dot org
2006-02-16 23:29 ` jsm28 at gcc dot gnu dot org
2006-02-16 23:39 ` jsm28 at gcc dot gnu dot org
2006-02-16 23:39 ` jsm28 at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).