Configuration:
-------------
Sparc Solaris 2.6, C++ 5.0 (including up to date patches), libforms 0.88,
lyx 1.0.4

When compiling the source code 1.0.4 I get the following 2 errors
(I guess this will also happen with previous versions):

-------- src/table.C -------------------------------------------------

"table.C", line 1422: Error: A previously specified default argument
                             value cannot be changed.

Source is:
const char *LyXTable::getDocBookAlign(int cell, bool isColumn=false)

Workaround:
delete "=false" from corresponding prototype in table.h


-------- src/LyXAction.C ---------------------------------------------

"LyXAction.C", line 513: Error: Cannot use const char* to initialize char*.

Source is:
int LyXAction::LookupFunc(char const *func)
{
  [......]
  char *arg = strchr(func, ' ');

Workaround:
Use a typecast
  char *arg = strchr((char*) func, ' ');

Reply via email to