--- Begin Message ---
- To: Hilmar Preusse <hille42@web.de>
- Cc: 667392-forwarded@bugs.debian.org
- Subject: Re: (fwd) Bug#667392: texlive-bin: ftbfs with GCC-4.7
- From: Martin Gieseking <martin.gieseking@uos.de>
- Date: Thu, 05 Apr 2012 09:45:24 +0200
- Message-id: <4F7D4D94.7040009@uos.de>
- In-reply-to: <20120404210317.GA18289@preusse-16223.user.cis.dfn.de>
- References: <20120404210317.GA18289@preusse-16223.user.cis.dfn.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Hilmar,
the origin of this issue seems to be the kpathsea library. The
prototype of function "getopt" given in kpathsea/getopt.h (a) differs
from that in /usr/include/getopt.h (b). Apparently, the throw()
modifier is missing in the kpathsea variant:
(a) int getopt(int, char* const*, const char*)
(b) int getopt(int, char* const*, const char*) throw ()
Excerpt from kpathsea/getopt.h:
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */
extern KPSEDLL int getopt (int argc, char *const *argv, const char
*shortopts);
This declaration doesn't seem to be in sync with the latest glibc any
longer. I think, Karl Berry should have a look at this.
Best regards,
Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPfU2UAAoJEIB5ok1Gji/3rQgIAMVwboFm4GhLQan6d+oT5L64
xKtHlR5EjcXBrrePM9GM3MVeunfEfNRUqPk0oq0qIFsYVy7IxWHLBo5q66gsvSO2
EY7SQOs092W496jaZ0k34k6Kf021Fd77gb6GqjabCPfTn31+moRc6ZG6PoUMlNa0
JRu2a5sQfyKiP5cXEyvDHS7BcJFXiEoz1/R7cy/GCnKxJsfyIv4JGAkFG7O+rb6O
14fM6zP+wS9pcu8qkzdDxQo9N2NFP1ceJ7vzLP1WcBLu7DstNB35ufViWfopxLmx
kfhydt+BT0OATQsMTgBKiuAOIqDsEqIqxbdMlphkGpLuP+3YvBewac1J57Jys+k=
=QC8t
-----END PGP SIGNATURE-----
--- End Message ---