The patch I submitted on 23 May to the dialogbase branch of CVS works if I add
a line to src/config.h
#define MB
and also modify lxtl.h:
Index: lxtl.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/Attic/lxtl.h,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 lxtl.h
--- lxtl.h 2000/04/25 02:48:57 1.1.2.5
+++ lxtl.h 2000/05/25 08:26:12
@@ -17,6 +17,9 @@
#ifndef LXTL_H
#define LXTL_H
#include <xtl/objio.h>
+#ifndef MB
+#include <xtl/autobuf.h>
+#endif
#include <xtl/xdr.h>
In other words, the exceptions that were being thrown by xtl are due to the
auto_mem_buffer. Use the standard mem_buffer and everything is Ok.
Angus
ps For Allan's benefit, the patch is to be found at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg11486.html
It contains small changes to allow compilation with DEC compilers (cxx, cc). It
also makes use of xtl-1.3.pl.11, rather than xtl-1.3.pl.4.