TM wrote:
Hi Lorenzo,

I've come across a bug in gengetopt version 2.19.2 when option include-getopt' is used. I attach a small project to demonstrate the issue.

Basically, if there are 2 options Q and W and the program is invoked as:
  prog -Q -W
everything is fine. However, if the program is invoked as:
  prog -QW
gengetopt generates an error message and terminates the program.

I am using Microsoft Visual Studio to compile the project. However, up to and including version 2.19.1 I have used a version of getopt taken from glibc and never had any such problems. I believe that this is a bug in the implementation of getopt that was added to version 2.19.2 of gengetopt.

Thanks
TM

thanks for the report!

I'll take a look at the problem

hope to a fix quite soon
cheers
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
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




_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to