Here is a mini-patch to let lyx compile with gcc-3.x on Win32.

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: src/support/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/support/ChangeLog,v
retrieving revision 1.66
diff -u -r1.66 ChangeLog
--- src/support/ChangeLog       2002/02/08 17:07:14     1.66
+++ src/support/ChangeLog       2002/02/11 08:03:00
@@ -1,3 +1,7 @@
+2002-02-10 Kayvan Sylvan <[EMAIL PROTECTED]>
+
+       * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
+
 2002-02-08  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
        * FileInfo.h: remove special cygwin code.
Index: src/support/os_win32.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/support/os_win32.C,v
retrieving revision 1.5
diff -u -r1.5 os_win32.C
--- src/support/os_win32.C      2002/02/08 14:32:17     1.5
+++ src/support/os_win32.C      2002/02/11 08:03:01
@@ -19,6 +19,8 @@
 os::shell_type os::_shell = os::UNIX;
 unsigned long os::cp_ = 0;
 
+using std::endl;
+
 void os::init(int * /* argc */, char ** argv[]) {
        static bool initialized = false;
        if (initialized) return;

Attachment: msg32801/pgp00000.pgp
Description: PGP signature

Reply via email to