This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(gdb ) r test -a1 -a2 > test.log will not work with boost. Why?


I have used boost::program_options and when I try to run the application in the debugger I get:

(gdb) r test -a1 -a2 > test.log
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /cygdrive/c/Users/dbj/Debug/test.exe -a1 -a2 > test.log
[New thread 275892.0x435b8]
[New thread 275892.0x435bc]
terminate called after throwing an instance of 'boost::exception_detail::clone_
mpl<boost::exception_detail::error_info_injector<boost::program_options::multip
e_occurrences> >'
  what():  multiple occurrences

Program received signal SIGABRT, Aborted.
0x77637094 in ntdll!LdrFindResourceEx_U ()
   from /cygdrive/c/windows/system32/ntdll.dll

Why do I get this? I can run it without redirection


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]