Boost logo

Boost :

Subject: [boost] WCHAR_MAX not defined on openbsd
From: Nick Owens ([hidden])
Date: 2010-08-14 20:21:31

hi there, i'm using openbsd 4.7 with g++ 4.2.4 installed from openbsd
i've tried building both boost 1.43 and 1.44rc, and both have several
libraries fail due to WCHAR_MAX not being defined. this appears to be
because __STDC_LIMIT_MACROS is not defined while processing
/usr/include/stdint.h. i built boost with
./bjam cxxflags='-D__STDC_LIMIT_MACROS' and there are no more errors about
WCHAR_MAX not being defined. perhaps this define should be added to
boost/cstdint.hpp, or is there a deeper reason why WCHAR_MAX is not being
defined correctly?

Boost list run by bdawes at, gregod at, cpdaniel at, john at