Compiling current cvs I get the following problem, resolved with the following
patch
Angus

cxx -std strict_ansi -nocleanup -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../.
./src/ -I../../../src/frontends/ -I../../.. -I../../.. -I../../../src/cheaders -
I/usr/local/include -ptr ../../../lyx_cxx_repository -O2 -MD -c Menubar_pimpl.C -o 
Menubar_pimpl.o
cxx: Error: Menubar_pimpl.C, line 410: class "Menubar::Pimpl" is inaccessible

Index: src/frontends/Menubar.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/Menubar.h,v
retrieving revision 1.2
diff -u -r1.2 Menubar.h
--- src/frontends/Menubar.h     2000/07/26 07:09:53     1.2
+++ src/frontends/Menubar.h     2000/07/26 12:29:17
@@ -41,9 +41,9 @@
        //I disable this temporarily until I find a nice way to make it work
        //with compaq cxx. (Jean-Marc)
        // Is this a new comment? (Lgb)
-private:
        struct Pimpl;
        friend struct Pimpl;
+private:
        Pimpl * pimpl_;
 };
 #endif

Reply via email to