
PS: I'd like to hear from programmers using wide character file names. Are they working OK? Are they meeting your needs? I use the wide character names for about three months with VC8 and after applying a similar patch like Mark I'm very satisfied with the library! Thank you.
Three items doesn't meet my needs: As already reported in http://article.gmane.org/gmane.comp.lib.boost.devel/128277, narrow_path() doesn't work if short filename generation is disabled. As a workaround I have fstream.hpp patched for using the non-standard wide char fstream constructors in VC8 (Dinkumware library). Indeed this works for VC8 only... I would like to see a what() method in basic_filesystem_error. Ok, I have seen the free function what() but what it's the rationale not including it in the exception object? The documentation is yet incomplete (for instance the convenience functions are not documented I think). Jan -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Beman Dawes Posted At: Thursday, February 23, 2006 10:35 PM Posted To: Boost Developer Conversation: [boost] bug in filesystem::wpath Subject: Re: [boost] bug in filesystem::wpath "Mark Bartosik" <mbartosik@yahoo.com> wrote in message news:dtjclm$7dr$1@sea.gmane.org...
bug in filesystem::wpath. In mirgrating to support wchar_t, a couple of lines were missed. m_path which has type of std::wstring is assigned a narrow character string resulting in a compilation error.
Fixed in CVS. Test cases were also added to wide_test.cpp. Thanks, --Beman PS: I'd like to hear from programmers using wide character file names. Are they working OK? Are they meeting your needs? _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

"Jan Hermelink" <Jan.Hermelink@metalogic.de> wrote in message news:EB650214CCEA984983BC694221A6D3BF06D6EF@JUPITER.muenchen.metalogic.de...
PS: I'd like to hear from programmers using wide character file names. Are they working OK? Are they meeting your needs? I use the wide character names for about three months with VC8 and after applying a similar patch like Mark I'm very satisfied with the library! Thank you.
Three items doesn't meet my needs:
As already reported in http://article.gmane.org/gmane.comp.lib.boost.devel/128277, narrow_path() doesn't work if short filename generation is disabled. As a workaround I have fstream.hpp patched for using the non-standard wide char fstream constructors in VC8 (Dinkumware library). Indeed this works for VC8 only...
Would you like to contribute your patch? That might be faster and easier than waiting for me to get around to it!
I would like to see a what() method in basic_filesystem_error.
It already has one, inherited from base class.
Ok, I have seen the free function what() but what it's the rationale not including it in the exception object?
The what() free function provides more elaborate formatting. The member what() function is minimal, and so doesn't have as many memory allocation issues. The approach is take to follow the guidelines at www.boost.org/more/error_handling.html.
The documentation is yet incomplete (for instance the convenience functions are not documented I think).
Yep, more work still needed. Cheers, --Beman
participants (2)
-
Beman Dawes
-
Jan Hermelink