[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getopt broken
From: |
Eric Blake |
Subject: |
Re: getopt broken |
Date: |
Sat, 26 Sep 2009 15:39:15 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Sergey Poznyakoff on 9/26/2009 3:24 PM:
> Hello,
>
> The latest changes to getopt (commit 6471b462, "getopt: fix inclusion
> guards for cygwin") break compilation of getopt1.c on GNU/Linux:
>
> GEN configmake.h
> CC getopt1.o
Why is getopt1 even being compiled on GNU/Linux? In other words, what
setup are you using where the AC_LIBOBJ([getopt1]) took effect, since it
seems to me that the gnulib getopt should _not_ be compiled if the
system's getopt didn't have any flaws.
Oh, I see. getopt in isolation passes, but getopt in combination with
argp causes the failure you are seeing. I guess it's because the argp
module wants to use lower-level hooks from getopt1.c than what getopt.h
normally exposes.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkq+igMACgkQ84KuGfSFAYBiIgCgs5b6FqSh2+WcO3UUAMNPYiHT
2mwAn1VUE0RVTU2tpj1DXd28v0+AQCZH
=LVas
-----END PGP SIGNATURE-----