|
Boost Users : |
From: Thomas Matelich (matelich_at_[hidden])
Date: 2006-08-05 15:34:51
On 8/5/06, John Maddock <john_at_[hidden]> wrote:
>
> Thomas Matelich wrote:
> >> Finally got around to upgrading to 1.33.1 on HP 11i, g++ 4.1.1.
> >>
> >> in v4/regex_traits_defaults.hpp, the compiler was not happy with the
> >> WCHAR_MIN == 0 and WCHAR_MAX <= USHRT_MAX checks. This appears to
> >> be due to their definition:
> >> #define WCHAR_MIN (wchar_t)0
> >> #define WCHAR_MAX (wchar_t)UINT_MAX
> >>
> And finally, there is a workaround for this in 1.34 already :-)
Ahh, I looked in CVS but didn't look closely enough at the 1.9 diff to see
that it encompassed the offending areas. The definition is in
/usr/include/wchar.h, so I'd say your #ifndef __HP_aCC should probably be
#ifndef __hpux for completeness.
Tom
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net