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

Karl Berry karl at freefriends.org
Fri Apr 6 23:59:15 CEST 2012

Hi Julian,

    Perhaps the simplest solution is to rename the kpathsea
    version as kpse_getopt

I don't think that's simple -- requires investigating/changing all uses
of getopt(_long) everywhere in the source.  It would make sense in the
long term, but don't want to go there now, just for the sake of a
trivial mismatch under a brand-new compiler version.  What's simple is
to omit the declaration (and definition) when compiling under C++.
Whether even that will have no downside (when using any other
compiler/version), I do not know.


More information about the tex-live mailing list