I just downloaded and compiled Lyx for my Solaris 2.5.1 box. There
was a compilation error (I'm using egcs-1.0.3) for file insetbib.C:

g++ -c -g -O2 -I. -I. -I../images   -I/usr/openwin/include insetbib.C 
insetbib.C: In method `class LString InsetBibtex::getKeys()':
insetbib.C:403: base operand of `->' is not a pointer

which points to the following code:
  FilePtr file(tmp,FilePtr::read);
   char c;
   while (!feof(file)) {  // line 403
     ...
   }

Somehow the methods of class FilePtr are not working at this place.
The file compiles fine with an explicite cast or something like

   FilePtr file(tmp,FilePtr::read);
   char c;
   FILE* p = file;
   while (!feof(p)) {
     ...
   }

Hope this helps,
-Jan.

--
J. van der Lee
http://www.cig.ensmp.fr/~vanderlee
---------------------------------- ----- --- -- -

Reply via email to