Thank you for replying. I checked the options and over but I couldn't
find any difference.. :(
I posted the trace of the stack in my reply to Alex. I leave it there
for while and I will check for the problem again with a fresher mind.
Alessandro
On Fri, Feb 6, 2009 at 9:25 PM, Peter Barker
On Fri, Feb 6, 2009 at 10:30 AM, Alessandro Condotta
wrote: Hi all, I am newbie and I am developing in C++ using VC9, Boost 1.37, CPLEX 11.1. I use date_time and program_options boost libraries and my program compiles fine. Date_time works perfectly while program_options gives me a runtime error saying "Debug assertion failed .... string iterator not dereferencable" every time I pass any argument in the command line. The assertion fails at line 112 of "C:\program files\microsoft visual studio 9.0\vc\include\xstring"
So I try to figure out what was going on in the following way:
- I tried "first.cpp" in program option example directory on a new project: it works with no problem.
-Then I tried to replace the main function of my project with the exact code of "first.ccp" and I got "string iterator not dereferencable" again.
Can anyone help me ?
This is just a "stab in the dark" as you've had no other replies, and I've never used program_options.
If first.cpp works in a new project, but not in your project, then it sounds like you should compare the compiler/linker settings on your project with the new project that just contains first.cpp.
Regards,
Pete _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users