Hello,

I started with good intentions, was going to clean up bugzilla... but I all did for the next two hours was to recompile the whole tree and fix compilation errors thanks to the std::string patch. Hmpf... §%§$%§

Lars, how did you manage to compile LyX? Some #include's are missing! Please see the attached patch.

Kind regards, Michael
Index: src/LColor.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/LColor.h,v
retrieving revision 1.37
diff -u -r1.37 LColor.h
--- src/LColor.h        2003/10/06 15:42:02     1.37
+++ src/LColor.h        2003/10/06 19:35:52
@@ -19,6 +19,7 @@
 #ifndef LCOLOR_H
 #define LCOLOR_H
 
+#include <string>
 #include <boost/scoped_ptr.hpp>
 
 /**
Index: src/frontends/qt2/QDelimiterDialog.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QDelimiterDialog.h,v
retrieving revision 1.11
diff -u -r1.11 QDelimiterDialog.h
--- src/frontends/qt2/QDelimiterDialog.h        2003/10/06 15:42:50     1.11
+++ src/frontends/qt2/QDelimiterDialog.h        2003/10/06 19:35:53
@@ -12,6 +12,7 @@
 #ifndef QDELIMITERDIALOG_H
 #define QDELIMITERDIALOG_H
 
+#include <string>
 #include "ui/QDelimiterDialogBase.h"
 
 
Index: src/frontends/qt2/QMathDialog.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QMathDialog.h,v
retrieving revision 1.13
diff -u -r1.13 QMathDialog.h
--- src/frontends/qt2/QMathDialog.h     2003/10/06 15:42:50     1.13
+++ src/frontends/qt2/QMathDialog.h     2003/10/06 19:35:53
@@ -12,6 +12,7 @@
 #ifndef QMATHDIALOG_H
 #define QMATHDIALOG_H
 
+#include <string>
 #include "ui/QMathDialogBase.h"
 
 
Index: src/frontends/qt2/QSearchDialog.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QSearchDialog.h,v
retrieving revision 1.12
diff -u -r1.12 QSearchDialog.h
--- src/frontends/qt2/QSearchDialog.h   2003/10/06 15:42:51     1.12
+++ src/frontends/qt2/QSearchDialog.h   2003/10/06 19:35:54
@@ -13,6 +13,7 @@
 #define QSEARCHDIALOG_H
 
 
+#include <string>
 #include "ui/QSearchDialogBase.h"
 
 class QSearch;
Index: src/frontends/qt2/floatplacement.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/floatplacement.h,v
retrieving revision 1.4
diff -u -r1.4 floatplacement.h
--- src/frontends/qt2/floatplacement.h  2003/10/06 15:42:52     1.4
+++ src/frontends/qt2/floatplacement.h  2003/10/06 19:35:54
@@ -10,6 +10,7 @@
  * Full author contact details are available in file CREDITS.
  */
 
+#include <string>
 #include <qwidget.h>
 
 class QCheckBox;
Index: src/frontends/qt2/iconpalette.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/iconpalette.h,v
retrieving revision 1.12
diff -u -r1.12 iconpalette.h
--- src/frontends/qt2/iconpalette.h     2003/10/06 15:42:52     1.12
+++ src/frontends/qt2/iconpalette.h     2003/10/06 19:35:54
@@ -17,6 +17,7 @@
 
 #include <utility>
 #include <vector>
+#include <string>
 
 class QPixmap;
 class QPushButton;
Index: src/frontends/qt2/panelstack.h
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/panelstack.h,v
retrieving revision 1.4
diff -u -r1.4 panelstack.h
--- src/frontends/qt2/panelstack.h      2003/10/06 15:42:52     1.4
+++ src/frontends/qt2/panelstack.h      2003/10/06 19:35:54
@@ -13,6 +13,7 @@
 
 #include <qwidget.h>
 
+#include <string>
 #include <map>
 
 class QListView;

Reply via email to