[tex-live] Bug#667392: Parts of TeX Live do not compile using gcc 4.7

Julian Gilbey julian at d-and-j.net
Fri Apr 6 14:12:19 CEST 2012

On Thu, Apr 05, 2012 at 04:57:10PM -0700, Karl Berry wrote:
>     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
> Sigh.  Well, I suppose we can add !defined (__cpluscplus) easily enough.
> If someone would like to send me a patch, that would be nice, else I'll
> look at it after I install gcc 4.7.  I was more or less waiting for
> 4.7.1 ...

The only thing is that Hilmar pointed out that the kpathsea version of
getopt is different from the glibc++ (?) version (different
behaviour?).  Perhaps the simplest solution is to rename the kpathsea
version as kpse_getopt, and that would avoid the clash.


More information about the tex-live mailing list