[tex-live] Parts of TeX Live do not compile using gcc 4.7

Hilmar Preusse hille42 at web.de
Thu Apr 5 23:11:48 CEST 2012


Hi,

down here in the Debian Bug tracking system we got a report telling,
that an TL checkout made on 20120328 can't be built using g++ 4.7:
[1].  I can reproduce the problem on my system.

The reason is most probably a contradicting definition of getopt in
<includedir>/kpathsea/getopt.h (a) and /usr/include/getopt.h (b).

(a) int getopt(int, char* const*, const char*)
(b) int getopt(int, char* const*, const char*) throw ()

Both header files are included by FileFinder.cpp (part of dvisvgm
[part of TL source code]) and g++ 4.7 refuses to compile the source
code.

A similar issue was reported years ago to [2]. Unfortunately nobody
ever took care, it might cause trouble in the future.

Please be so kind to look into this. Please keep the bug in our BTS in
Cc.

Regards,
  Hilmar

[1] http://bugs.debian.org/667392
[2] http://bugs.debian.org/64524
-- 
sigmentation fault
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/tex-live/attachments/20120405/00208349/attachment.bin>


More information about the tex-live mailing list