This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/44417] make check-target-libstdc++-v3 fails due to undefined ptrdiff_t
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2010 15:23:25 -0000
- Subject: [Bug libstdc++/44417] make check-target-libstdc++-v3 fails due to undefined ptrdiff_t
- References: <bug-44417-15092@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from paolo dot carlini at oracle dot com 2010-06-07 15:23 -------
Johannes, can you try the patch and in case, give me some details about the
remaining issues? The idea is simply that if a glibc header has been included
by <cwctype> before <wctype.h>, then __GLIBC__ is defined and __GLIBC_MINOR__
set to the proper value. If the minor is < 10, thus <wctype.h> is buggy, we
include by hand <stddef.h> *before* <wctype.h>. It should work. Unless the
library is somehow including <wctype.h> somewhere else outside <cwctype>. That
should be also fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44417