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.gzhope 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.comhttp://www.myspace.com/supertrouperabbaBLOGS:
http://tronprog.blogspot.com http://longlivemusic.blogspot.comhttp://www.gnu.org/software/src-highlitehttp://www.gnu.org/software/gengetopthttp://www.gnu.org/software/gengen http://doublecpp.sourceforge.net_______________________________________________
Help-gengetopt mailing list
Help-gengetopt@...
http://lists.gnu.org/mailman/listinfo/help-gengetopt