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]

Fwd: 2.5.2 x86-64: problem in program options in boost library


Hi, i have a problem with runnig of program options under x86-64.

making line of my program is
g++ -std=gnu++14 -Wno-unused-result -Wno-format-security -g
-fno-inline -fno-default-inline   1548.cpp -o 1548
-lboost_program_options


running of program under gdb :

107             parsed_options result(m_desc,
detail::cmdline::get_canonical_option_prefix());
(gdb) n
108             result.options = detail::cmdline::run();
(gdb) b
Breakpoint 3 at 0x100402f5b: file
/usr/include/boost/program_options/detail/parsers.hpp, line 108.
(gdb) s
gdb: unknown target exception 0x20474343 at 0x7fefdb2a06d

Program received signal ?, Unknown signal.
0x000007fefdb2a06d in RaiseException () from
/cygdrive/c/Windows/system32/KERNELBASE.dll
(gdb) where
#0  0x000007fefdb2a06d in RaiseException () from
/cygdrive/c/Windows/system32/KERNELBASE.dll
#1  0x00000003ff0fcc97 in cyggcc_s-seh-1!_Unwind_RaiseException ()
from /usr/bin/cyggcc_s-seh-1.dll
#2  0x00000003ff0fcd70 in cyggcc_s-seh-1!_Unwind_Resume_or_Rethrow ()
from /usr/bin/cyggcc_s-seh-1.dll
#3  0x00000003fa41754d in cygstdc++-6!.cxa_rethrow () from
/usr/bin/cygstdc++-6.dll
#4  0x00000003ffa343ac in
cygboost_program_options-1_58!_ZN5boost15program_options6detail7cmdline13finish_optionERNS0_12basic_optionIcEERSt6vectorISsSaISsEERKS6_INS_9function1IS6_IS4_SaIS4_EES9_EESaISD_EE
() from /usr/bin/cygboost_program_options-1_58.dll
#5  0x00000003ffa3516f in
cygboost_program_options-1_58!_ZN5boost15program_options6detail7cmdline3runEv
()
   from /usr/bin/cygboost_program_options-1_58.dll
#6  0x0000000100402f6b in
boost::program_options::basic_command_line_parser<char>::run
(this=0xffecb170)
    at /usr/include/boost/program_options/detail/parsers.hpp:108
#7  0x0000000100402d17 in
boost::program_options::parse_command_line<char> (argc=3,
argv=0xffffcc00, desc=..., style=0, ext=...)
    at /usr/include/boost/program_options/detail/parsers.hpp:125
#8  0x0000000100401329 in main (argc=3, argv=0xffffcc00) at 1548.cpp:242


What could it be?
-- 
Kind regards,
Sergey Ivanov

Attachment: cygcheck.out
Description: Binary data

--
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]