
On Sun, Nov 30, 2008 at 02:40:23AM +0800, Ken zhang wrote:
Hi Dear
I want use boost::filesystem::wpath for directory operation, It worked fine in VS2005, but I can't compile the same code by code::block + MinGW. The compiler report error below.
D:\Development\Tools\boosttest\localization.cpp:14: error: `wpath' is not a member of `boost::filesystem' D:\Development\Tools\boosttest\localization.cpp:14: error: expected `;' before "path" D:\Development\Tools\boosttest\localization.cpp:15: error: `path' was not declared in this scope
How can I resolve it ? Is it a bug in MinGW?
IIRC MinGW 3.4.x doesn't support wide character natively. You can try to build boost with MinGW+STLPort which brings wchar_t support. MinGW 4.x might also have them.
Thanks -- Best Regards,
Kennir
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users