Bug#253958: (fwd) Bug#253958: Unable to build packages depending on this with gcc.
Hilmar Preusse writes:
> On 12.06.04 Olaf Weber (olaf@infovore.xs4all.nl) wrote:
>> Olaf Weber writes:
>>> The kpathsea headers depend on having their autoconf-generated
>>> config.h (which is _called_ c-auto.h) included as well. Some may do
>>> this themselves, others don't.
>>> Adding #include <kpathsea/config.h> before including any other
>>> kpathsea header might solve this.
>> Note that since kpathsea/c-auto.h is generated by configure this
>> means it is both system- and compiler-dependent. This is a known
>> flaw.
> Means: as soon as we start building teTeX using gcc-3.3 people can
> use gcc-3.3 to build applications linked with libkpathsea?
> We should document that anywhere. Thanks for the hint!
Actually, it is likely you can use any gcc to build against teTeX,
since the compiler-dependencies aren't _that_ strict. It is in
particular things like K&R vs ANSI and the availability of certain
functions.
But you have to include the right headers in the right order.
--
Olaf Weber
(This space left blank for technical reasons.)
Reply to: