Boost logo

Boost Users :

Subject: [Boost-users] [filesystem] boost 1.41, hpux, gcc 440, compilation error solved
From: Rui Pedro Fernandes (ruipfernandes_at_[hidden])
Date: 2010-01-15 13:33:30


Hi,

While trying to compile filesystem under HPUX because the WCHAR_MAX define
value used was including a ')' character (because the value has a cast).
The include file wchar.h defines the correct WCHAR_MAX if macro
_INCLUDE_STDC__SOURCE_199901 is defined.
I then solved the problem by changing the filesystem's Jamfile.v2 to add the
lines:
: requirements
<host-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901

Don't know however if this is the best way to solve the issue...

Thanks,
Rui



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