[tlbuild] lcdf-typetools: buggy inline handling in config.h.in
Vladimir Volovich
vvv at vsu.ru
Mon Jun 7 02:19:55 CEST 2010
"EK" == Eddie Kohler writes:
EK> I'll fix this in the next version by splitting config.h.
the first snippet from config.h which deals with inline takes care to
not touch it for C++:
#ifndef __cplusplus
#undef inline
#endif
but the second snippet explicitly does it for C++:
#ifdef __cplusplus
}
/* Get rid of a possible inline macro under C++. */
# define inline inline
#endif
and so inline gets defined in this case.
but, does lcdf-typetools (re)define the "inline" macro anywhere other
than in confog.h? if not, it seems that just removing these 2 lines
would take care of the problem?:
/* Get rid of a possible inline macro under C++. */
# define inline inline
(unless lcdf-typetools includes some kpathsea headers which (re)define
"inline", not taking care to do this inside the
#ifndef __cplusplus ... #endif block)
Best,
v.
More information about the tlbuild
mailing list