Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost::filesystem::wpath]wpath missing in boost 1.37?
From: Deng Xiyue (manphiz_at_[hidden])
Date: 2008-11-30 00:31:18


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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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