On 8/5/06, <b class="gmail_sendername">John Maddock</b> &lt;<a href="mailto:john@johnmaddock.co.uk">john@johnmaddock.co.uk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thomas Matelich wrote:<br>&gt;&gt; Finally got around to upgrading to 1.33.1 on HP 11i, g++ 4.1.1.<br>&gt;&gt;<br>&gt;&gt; in v4/regex_traits_defaults.hpp, the compiler was not happy with the<br>&gt;&gt; WCHAR_MIN == 0 and WCHAR_MAX &lt;= USHRT_MAX checks.&nbsp;&nbsp;This appears to
<br>&gt;&gt; be due to their definition:<br>&gt;&gt; #define WCHAR_MIN (wchar_t)0<br>&gt;&gt; #define WCHAR_MAX (wchar_t)UINT_MAX<br>&gt;&gt;<br>And finally, there is a workaround for this in 1.34 already :-)</blockquote>
<div><br>Ahh, I looked in CVS but didn't look closely enough at the 1.9 diff to see that it encompassed the offending areas.&nbsp;&nbsp; The definition is in&nbsp; /usr/include/wchar.h, so I'd say your #ifndef __HP_aCC should probably be #ifndef __hpux for completeness.
<br><br>Tom<br></div><br></div>

