I've been porting a C++ program from Linux to Cygwin on Windows, and am having trouble with Boost Program Options (Boost 1.43). The program compiles and runs fine on Linux (Boost 1.44), but hangs under Cygwin:
/* prints */
std::cout << "positional options" << std::endl;
variables_map v;
store(command_line_parser(argc, argv)
.options(o).positional(p).allow_unregistered().run(), v);
/* never prints */
std::cout << "stored vars" << std::endl;
notify(v);
Any ideas? I can provide more information if needed. (If I had to guess, it's I/O blocked, as the CPU use sits at 0% here)