This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: numeric_limits


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,
numeric_limits<wchar_t>::min() returns 0 and
numeric_limits<wchar_t>::max() returns -1, resulting that the maximum
value is lower than the minimal one. All other problems I encountered
(cf. PR/7753) are fixed. Thank you for fixing this PR. Could you
please close both PRs?


Hope this helps,

Peter Schmid


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]