On 8/5/06, John Maddock <john@johnmaddock.co.uk> 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