little@odin.ucsd.edu (Glenn Little) (03/06/91)
I am trying to bring up the unix TeX3.1 package. I am having trouble
compiling bibtex.c. The c file that gets generated has a bunch of
problems that are essentially like this (after boiling down, expanding
macros, etc.):
---------------------------------
int dummy_func();
typedef char arraytype[5];
some_function (buf)
arraytype buf;
{
dummy_func ((arraytype) ( buf ));
}
---------------------------------
gcc complains about "conversion to non-scalar type requested" for
each of these situations. cc has a similar complaint "illegal lvalue
operand of assignment operator". It looks like the problem is with
the "arraytype" cast in the function call. Has anyone else seen this
problem and if so, do you have any ideas for a fix? (Other than
hand-fixing the bibtex.c file... since it's auto-generated, that seems
like a waste of effort.)
Thanks a lot.
Glenn Little
glittle@ucsd.edu
little%cs@ucsd.edu