Boost configuration - particularly no wchar

Hi, Our compiler does not support wchar. I have found that #defining BOOST_NO_STD_WSTRING and BOOST_NO_INTRINSIC_WCHAR_T helps the compilation but I suspect there is a correct place or method of defining this. Could someone point me at the documentation for this please? Many thanks Ant

Our compiler does not support wchar. I have found that #defining BOOST_NO_STD_WSTRING and BOOST_NO_INTRINSIC_WCHAR_T helps the compilation but I suspect there is a correct place or method of defining this. Could someone point me at the documentation for this please?
Take a look at http://www.boost.org/doc/libs/1_46_1/libs/config/doc/html/boost_config/boost... and search for "wchar" and you'll a bunch of relevant macros, HTH, John. PS boost/config/user_config.hpp is the place for custom configs, see also: http://www.boost.org/doc/libs/1_46_1/libs/config/doc/html/index.html#boost_c...

.>Our compiler does not support wchar. .>I have found that #defining BOOST_NO_STD_WSTRING and .>BOOST_NO_INTRINSIC_WCHAR_T .>helps the compilation but I suspect there is a correct place or method of .>defining this. .>Could someone point me at the documentation for this please? . .Take a look at .http://www.boost.org/doc/libs/1_46_1/libs/config/doc/html/boost_config/boost... . .and search for "wchar" and you'll a bunch of relevant macros, . .HTH, John. . .PS boost/config/user_config.hpp is the place for custom configs, see also: .http://www.boost.org/doc/libs/1_46_1/libs/config/doc/html/index.html#boost_c... Thanks John, I see. I hadn't thought of looking for configuration information in the library list, I assumed it would be separate. I'll try running the configure script and see what I get from that. Thanks again Ant
participants (2)
-
John Maddock
-
Pace, Antony [Harman Pro Group UK]