id summary reporter owner description type status milestone component version severity resolution keywords cc 2382 [filesystem] mbstate_t is not a member of std in libs/filesystem/example/mbpath.cpp Farid Zaripov Beman Dawes "From [http://tinyurl.com/4lbn5p this log]: {{{ ""g++"" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -m64 -march=nocona -fPIC -nostdinc++ -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -D_RWSTDDEBUG -I"".."" -I""/var/tmp/stdcxx/4.2.x/gcc/11D/include"" -I""/var/tmp/stdcxx/4.2.x/include"" -I""/var/tmp/stdcxx/4.2.x/include/ansi"" -c -o ""/var/tmp/boost/results/boost/bin.v2/libs/filesystem/test/mbpath.test/gcc-4.3.0_stdcxx_422/debug/address-model-64/architecture-x86/instruction-set-nocona/stdlib-stdcxx-4.2.2/mbpath.o"" ""../libs/filesystem/test/../example/mbpath.cpp"" ../libs/filesystem/test/../example/mbpath.cpp:27: error: ???mbstate_t??? is not a member of ???std??? ../libs/filesystem/test/../example/mbpath.cpp:27: error: ???mbstate_t??? is not a member of ???std??? ../libs/filesystem/test/../example/mbpath.cpp:27: error: template argument 3 is invalid ../libs/filesystem/test/../example/mbpath.cpp:28: error: invalid type in declaration before ???(??? token ../libs/filesystem/test/../example/mbpath.cpp:28: error: ???mbstate_t??? is not a member of ???std??? ../libs/filesystem/test/../example/mbpath.cpp:28: error: ???mbstate_t??? is not a member of ???std??? ../libs/filesystem/test/../example/mbpath.cpp:28: error: template argument 3 is invalid }}} The proposed patch: {{{ Index: libs/filesystem/example/mbpath.cpp =================================================================== --- libs/filesystem/example/mbpath.cpp (revision 49128) +++ libs/filesystem/example/mbpath.cpp (working copy) @@ -13,6 +13,7 @@ # error This compiler or standard library does not support wide-character strings or paths # endif +#include #include ""mbpath.hpp"" #include #include }}}" Bugs closed Boost 1.37.0 filesystem Boost Development Trunk Showstopper fixed