[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667392: Parts of TeX Live do not compile using gcc 4.7



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

Attachment: signature.asc
Description: Digital signature


Reply to: