Bug#345714: libboost-program-options-dev: Fails to parse valid options with a common root
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tags 345714 + fixed-upstream thanks This was just fixed in upstream CVS. Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8+ http://mailcrypt.sourceforge.net/ iD8DBQFDwkKMVcFcaSW/uEgRAhmFAJ0WJo2CgvJkaYPIXLKW94T9KR75kgCg0J9V 3XH42ZY7/PUb3ddO+TUoRKQ= =klm/ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345714: libboost-program-options-dev: Fails to parse valid options with a common root
On Mon, Jan 09, 2006 at 11:01:34AM +, Roger Leigh wrote: tags 345714 + fixed-upstream thanks This was just fixed in upstream CVS. oh.. fine :) which is the file to be fixed? i'd fix it in the next 1.33.1-2 package? thanks domenico -[ Domenico Andreoli, aka cavok --[ http://people.debian.org/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345714: libboost-program-options-dev: Fails to parse valid options with a common root
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Domenico Andreoli [EMAIL PROTECTED] writes: On Mon, Jan 09, 2006 at 11:01:34AM +, Roger Leigh wrote: tags 345714 + fixed-upstream thanks This was just fixed in upstream CVS. oh.. fine :) which is the file to be fixed? i'd fix it in the next 1.33.1-2 package? http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/program_options/options_description.hpp?r1=1.9r2=1.10only_with_tag=HEAD http://cvs.sourceforge.net/viewcvs.py/boost/boost/libs/program_options/src/options_description.cpp?r1=1.15r2=1.16only_with_tag=HEAD http://cvs.sourceforge.net/viewcvs.py/boost/boost/libs/program_options/test/options_description_test.cpp?r1=1.4r2=1.5sortby=dateonly_with_tag=HEAD AFAICT, these are the three changed files. There may be more I missed if they weren't under boost/program_options or libs/program_options. Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linuxhttp://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8+ http://mailcrypt.sourceforge.net/ iD8DBQFDwmKLVcFcaSW/uEgRAryrAJ9OGe8d46iiw/E1ilnViuCd7Z/sOwCguEmQ RaulocrtuuEu9hxSjf20IMA= =RJIN -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#345714: libboost-program-options-dev: Fails to parse valid options with a common root
Package: libboost-program-options-dev Version: 1.33.0-6 Severity: normal Given the following testcase: #include iostream #include boost/program_options.hpp namespace opt = boost::program_options; int main(int argc, char *argv[]) { try { bool all, all_chroots, all_sessions; opt::options_description chroot(Chroot selection); chroot.add_options() (all,a, Select all chroots and active sessions) (all-chroots, Select all chroots) (all-sessions, Select all active sessions); opt::variables_map vm; opt::store(opt::parse_command_line(argc, argv, chroot), vm); opt::notify(vm); if (vm.count(all)) all = true; if (vm.count(all-chroots)) all_chroots = true; if (vm.count(all-sessions)) all_sessions = true; return 0; } catch (std::exception const e) { std::cerr e.what() std::endl; return 1; } } $ g++ -o opt opt.cc -lboost_program_options $ ./opt --help unknown option help $ ./opt --all-chroots $ ./opt --all-sessions $ ./opt --all ambiguous option all --all is not abiguous, since it's an exact match. It's not abigous for GNU getopt or GLib GOption, so this is IMHO a bug. Regards, Roger -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.5 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages libboost-program-options-dev depends on: ii libboost-dev 1.33.0-6 Boost C++ Libraries development fi ii libboost-program-options1.33. 1.33.0-6 program options library for C++ libboost-program-options-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]