Re: bug in cygwin's gcc/g++ getopt_long(): erroneous ambiguous option

2009-01-13 Thread Corinna Vinschen
On Jan 13 00:49, Dan Tsafrir wrote: Hi, When given certain long options, Cygwin's getopt_long() function erroneously fails on ambiguous option. The short program below illustrates the problem: getopt_long() wrongfully reports the --xy option as ambiguous. Strangely, if flipping the order

bug in cygwin's gcc/g++ getopt_long(): erroneous ambiguous option

2009-01-12 Thread Dan Tsafrir
Hi, When given certain long options, Cygwin's getopt_long() function erroneously fails on ambiguous option. The short program below illustrates the problem: getopt_long() wrongfully reports the --xy option as ambiguous. Strangely, if flipping the order of the 2nd and 3rd entries in the