Hi,
I'm trying to compile 1.0.0pre4 on an old Sparc machine running SunOS
4.1.4 using gcc-2.7.2.3. Everything goes okay until I hit lyxlookup.C,
when it bombs with the following messages:
lyxlookup.C:21: parse error before `;'
lyxlookup.C:21: warning: ANSI C++ forbids declaration `xim' with no type
or storage class
lyxlookup.C:22: parse error before `;'
lyxlookup.C:22: warning: ANSI C++ forbids declaration `xic' with no type
or storage class
lyxlookup.C: In function `void InitLyXLookup(struct _XDisplay *, long
unsigned int)':
lyxlookup.C:32: warning: implicit declaration of function `int
XSupportsLocale(...)'
lyxlookup.C:36: warning: implicit declaration of function `int
XSetLocaleModifiers(...)'
lyxlookup.C:43: warning: implicit declaration of function `int
XOpenIM(...)'
[more junk deleted which I assume is just a result of the first two
errors.]
The offending lines are simply
static XIM xim;
static XIC xic;
I'm not much of a programmer (that's why I'm doing the docs :-) - anybody
know a fix?
Mike
[EMAIL PROTECTED]