Magnus Engholm wrote:
> I get the following message when running 'make':
> In file included from ../../../src/lyxgluelength.h:18,
>                  from ../../../src/vspace.h:17,
>                  from ../../../src/bufferparams.h:20,
>                  from ../../../src/lyxrc.h:19,
>                  from lyx_gui.C:24:
> ../../../src/lyxlength.h:27: error: parse error before numeric
> constant ../../../src/lyxlength.h:46: error: missing ';' before
> right brace ../../../src/lyxlength.h:49: error: parse error before
> `)' token ../../../src/lyxlength.h:51: error: parse error before
> `double' and so on....
> 
> I have a solaris9-x86 machine and are using gcc 3.3.2.
> Any help would be appreciated!
> TIA
> /daniel

Is 'UNIT' a macro on your box?

To find out, add

#ifdef UNIT
#error Oops!
#endif

to the header file after the '#include "LString.h"' line.

If the compiler bombs out then try

#ifdef UNIT
#undef UNIT
#endif

-- 
Angus

Reply via email to