>>>>> "Albert" == Albert Chin <[EMAIL PROTECTED]> writes:

Albert> While building 1.3.0 with the Qt frontend on Solaris 2.6 with
Albert> GCC 3.2.2: 
Albert> ../../boost/boost/integer_traits.hpp:109:2: #error No
Albert> WCHAR_MIN and WCHAR_MAX present, please adjust
Albert> integer_traits<> for your compiler. 

Albert> No build problems on Solaris 7, 8, or 9. 

So we need a fix that would be specific to some solaris versions.

Albert> From Solaris 7 <limits.h>: /* not XPG4 and not XPG4v2 */ #if
Albert> (!(defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4)))
Albert> #ifndef WCHAR_MAX #define WCHAR_MAX 2147483647 #endif #ifndef
Albert> WCHAR_MIN #define WCHAR_MIN (-2147483647-1) #endif #endif /*
Albert> not XPG4 and not XPG4v2 */

It seems that there is nothing like this in solaris 2.6 headers.

Albert> How about the patch below?

I'd rather see a more precise test.

JMarc

Reply via email to