Re: Bug report: combination between "enum" and "--long-help"
Lorenzo Bettini <[email protected]> Sat, 01 Mar 2008 09:32:42 +0100
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
nlohmann wrote: > Hello! > > I have the following .ggo file: > > ------------------------------------------- > option "mode" m > "User mode" > string values="simulation","matching" enum > typestr="MODE" > default="simulation" > optional > ------------------------------------------- > > When I call gengetop using > > gengetopt --input=cmdline.ggo --c-extension=cc --long-help --include-getopt > --show-required > > I get the following message: > > gengetopt: bug found in gm.cc:636!! > > With > > gengetopt --input=cmdline.ggo --c-extension=cc --include-getopt > --show-required > > (without "--long-help") everything is fine. > > When I change the .ggo file to > > ------------------------------------------- > option "mode" m > "User mode" > string values="simulation","matching" > typestr="MODE" > default="simulation" > optional > ------------------------------------------- > > (without "enum") then both above calls work OK. > > Cheers, > Niels. Hi Niels this should be fixed in this temporary release: http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.1.tar.gz hope to hear from you soon cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net