9 #ifdef KPATHSEA
10 #include <kpathsea/c-auto.h>
11 #include <kpathsea/pathsearch.h>
12 #include <kpathsea/tex-file.h>
13 #endif
In general, I think #include <kpathsea/config.h> must come first, and
should replace the #include <kpathsea/c-auto.h>.
/usr/include/kpathsea/types.h:66: error: expected
specifier-qualifier-list before 'str_llist_type'
I suppose this is about cache_entry:
typedef struct
{
const_string key;
str_llist_type *value;
} cache_entry;
Perhaps something like
struct str_llist_elt *value;
would also work around the problem. Not sure.
FYI, types.h has been significantly changed in our current sources, to
essentially include everything. This was part of making it thread-safe,
which is all work Taco Hoekwater did.
In particular, #include <kpathsea/str-llist.h> is now done before the
definition of cache_entry, where str_llist_type is used. But that seems
to be different from what you're seeing. (And, "cache_entry" shouldn't
be in a public include file, it doesn't have the right kind of name.
Hmm. Will write Taco about that.)
Thanks,
k
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]