This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: numeric_limits
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> writes:
| Could you please fix PR libstdc++/7851 and add the missing check for
| the wchar_t type to the test suite? This is the remaining
| numeric_limits related problem on my computer system
| (i686-pc-linux-gnu). The limits facility assumes that the wchar_t type
| is unsigned on this target. Since this assumption is false,
My fault, I screwed up the definitions with
#ifndef __WCHAR_UNSIGNED__
# define __glibcpp_wchar_t_is_signed false
#else
# define __glibcpp_wchar_t_is_signed true
#endif
in std_limits.h
It should have been the reverse. Please could you change the line
#ifndef __WCHAR_UNSIGNED__
to
#ifdef __WCHAR_UNSIGNED__
and report what you get?
Thanks,
-- Gaby