[Boost-bugs] [ boost-Bugs-1594324 ] program_options find assert fails with multibyte characters

Bugs item #1594324, was opened at 2006-11-10 09:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1594324&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: program_options find assert fails with multibyte characters Initial Comment: I have experienced the following error when running my application. Assertion failed: n == name.size()-2, file C:\....\Libraries\OpenSource\boost\libs\program_options\build\../src/options_description.cpp, line 118 It is compiled in VC++ 2005. Using the debugger I was able to determine that std::find was returning double the expected value for the position of the comma. So for the option: "help,h" find set n = 8, instead of 4. I am using multibyte characters in the application. The problem only occurs when I compile my application in debug mode. The release version runs without any problem. Cheer, Brian! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1594324&group_id=7586 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net