Hi,

you need to patch lyx_main.C in order to be able to compile LyX.

Index: src/lyx_main.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/lyx_main.C,v
retrieving revision 1.86
diff -u -r1.86 lyx_main.C
--- src/lyx_main.C      2001/08/03 18:28:04     1.86
+++ src/lyx_main.C      2001/08/06 21:05:57
@@ -632,7 +632,7 @@
                            << " in " << ui_path << endl;
        LyXLex lex(uitags, ui_last - 1);
        lex.setFile(ui_path);
-       if (!lex.IsOK()) {
+       if (!lex.isOK()) {
                lyxerr << "Unable to set LyXLeX for ui file: " << ui_path
                       << endl;
        }
@@ -640,7 +640,7 @@
        if (lyxerr.debugging(Debug::PARSER))
                lex.printTable(lyxerr);

-       while (lex.IsOK()) {
+       while (lex.isOK()) {
                switch (lex.lex()) {
                case ui_menuset:
                        menubackend.read(lex);
@@ -651,7 +651,7 @@
                        break;

                default:
-                       if(!strip(lex.GetString()).empty())
+                       if(!strip(lex.getString()).empty())
                                lex.printError("LyX::ReadUIFile: "
                                               "Unknown menu tag:
`$$Token'");
                        break;


***********************************************

I have collected all warnings raised by g++ 2.95.3. There are no real
compiler warnings, just comments from you.

***********************************************

formulabase.C:121: warning: #warning This is needed as long the math
parser is not re-entrant
formulamacro.C:66: warning: #warning Need to unregister from
MathMacroTable.
formulamacro.C:76: warning: #warning This should not be needed in
reality...
math_cursor.C:1019: warning: #warning This is evil!
math_macrotable.C:63: warning: #warning who frees this?
insetbib.C:267: warning: #warning Ha, now we are mainly at 1.2.0 and it is
still here (Jug)
insetcaption.C:119: warning: #warning Implement me!
insetcaption.C:128: warning: #warning Implement me!
insetfloat.C:305: warning: #warning FIX!
insetfloatlist.C:63: warning: #warning Implement me please.
insetminipage.C:76: warning: #warning Remove this color definitions before
1.2.0 final!
insetquotes.C:260: warning: #warning How do we get the local language
here??
insettabular.C:620: warning: #warning fix scrolling when cellinset has
requested a scroll (Jug)!!!
insettabular.C:1300: warning: #warning Jrgen, please check. (Lgb)
insettext.C:68: warning: #warning this functions should probably go into
bufferview_funcs somehow (Jug)
insettext.C:2139: warning: #warning Dekel please have a look on this one
RTL? (Jug)
ImageLoaderXPM.C:65: warning: #warning This might be a dirty thing, but I
dont know any other solution.
FormFloat.C:32: warning: #warning Needs to be implemented. (Lgb)
xforms_helpers.C:42: warning: #warning Why cant this be done by a one pass
algo? (Lgb)
BufferView_pimpl.C:3222: warning: #warning Why is this code different from
specialChar() below? (JMarc)
buffer.C:305: warning: #warning And _why_ is this here? (Lgb)
lyxfunc.C:1172: warning: #warning Find another implementation here (or
another lyxfunc)!
paragraph.C:1598: warning: #warning For now we ALWAYS have to close the
foreign font settings if they are
paragraph.C:1599: warning: #warning there as we start another
\selectlanguage with the next paragraph if
paragraph.C:1600: warning: #warning we are in need of this. This should be
fixed sometime (Jug)
paragraph.C:1841: warning: #warning We should make this somewhat better,
any ideas? (Jug)
tabular-old.C:132: warning: #warning old l_getline
text.C:1024: warning: #warning Please fix me (Jug!)
text.C:1524: warning: #warning Something is rotten here! (Jug)
text.C:2275: warning: #warning Dekel please have a look on this one RTL?
(Jug)
text2.C:2144: warning: #warning I belive this code is wrong. (Lgb)
text2.C:2145: warning: #warning Jrgen, have a look at this. (Lgb)
trans.C:256: warning: #warning This code should be removed...


-- 
======================================================================
Michael Schmitt                            phone:     +49 451 500 3725
Institute for Telematics                   secretary: +49 451 500 3721
Medical University of Luebeck              fax:       +49 451 500 3722
Ratzeburger Allee 160              eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany           WWW:   http://www.itm.mu-luebeck.de
======================================================================

Reply via email to