>>>>> "Thomas" == Thomas Ruedas <[EMAIL PROTECTED]> writes:

Thomas> Hello, is it possible that there is still a bug in table.C of
Thomas> LyX 1.0.4? I searched the mailing list archive and found
Thomas> something maybe similar reported for the Sun, but not my
Thomas> particular problem, so hopefully this is the right place to
Thomas> ask. I am trying to install LyX 1.0.4 on an IBM RS6000 running
Thomas> AIX 4.2 and using the xlc/xlC compilers with -O2; I have
Thomas> installed Xpm 3.4g and Xforms 0.88 binaries for AIX 4.x. When
Thomas> running make, it fails with this error: xlC -c -O2 -I. -I.
Thomas> -I../images -I/usr/local/include -I/usr/local/lib/xpm-3.4g
Thomas> table.C "table.C", line 1421.63: 1540-069: (S) Declarations of
Thomas> the same function must not specify default initializers for
Thomas> the same argument. 

Hello,

This is indeed a known problem with some strict compilers (that's why
many people do not see it...). Apply the following change around line 1420
of table.C (remove the "=false").

JMarc



Index: table.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-1_0_x/src/table.C,v
retrieving revision 1.9
diff -u -r1.9 table.C
--- table.C     1999/09/23 14:13:53     1.9
+++ table.C     1999/11/08 10:24:36
@@ -1418,7 +1418,7 @@
     return ret;
 }
 
-const char *LyXTable::getDocBookAlign(int cell, bool isColumn=false)
+const char *LyXTable::getDocBookAlign(int cell, bool isColumn)
 {
     int i;
     if (isColumn)

Reply via email to