On Sat, Sep 27, 2003 at 12:13:32PM +0200, Kornel Benko spake thusly: > -----BEGIN PGP SIGNED MESSAGE----- > > On Samstag, 27. September 2003 10:02, Martin Vermeer wrote: > > Here it is... works for me. All of parbox/minipage and all the > > fancybox standard boxes implemented. (And yes Jean-Marc, you *can* > > draw a square frame around something :-) > > > > For your benevolent consideration :-) > > Compiling this, > > ++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -I/usr/X11R6/include > -g3 -ftemplate-depth-50 -fno-exceptions -W -Wall -MT insetbox.lo -MD -MP -MF > .deps/insetbox.Tpo -c insetbox.C > insetbox.h:103: `enum InsetBox::BoxType' is private > insetbox.C:34: within this context > insetbox.C: In member function `void InsetBoxParams::read(LyXLex&)': > insetbox.C:481: `endl' undeclared (first use this function) > insetbox.C:481: (Each undeclared identifier is reported only once for each > function it appears in.) > make[3]: *** [insetbox.lo] Fehler 1 > .... > > Had to add "using std::endl;"
Thanks! > Next error: > > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -I/usr/X11R6/include > -g3 -ftemplate-depth-50 -fno-exceptions -W -Wall -MT insetbox.lo -MD -MP -MF > .deps/insetbox.Tpo -c insetbox.C > insetbox.h:103: `enum InsetBox::BoxType' is private > insetbox.C:35: within this context > make[3]: *** [insetbox.lo] Fehler 1 > make[3]: Leaving directory `/usr2/src/lyx/qt/lyx-1.4.0cvs/src/insets' > ... Funny... I have it in the private section without problems. So let's move it to public. Compiles fine too. Static seems to be tricky. > Kornel > - -- > Kornel Benko > [EMAIL PROTECTED] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) > > iQCVAwUBP3Vi0rewfbDGmeqhAQFQogQAyxxY+TkxAaZWE1uOx6rRPfs9kkhnyg3C > roneGYfGw81+lfS9swPEYsNMKExJA+s4sHIeJMTrgTsIYfB3TEvuMdCgSR7QSnPP > TtS901HUCZt1yycxcM0clydmO/aR6f4PYnVnrNEupSkum4rz9IPlrtLJbhd0LJX3 > 8hi7+zikp68= > =bNtM > -----END PGP SIGNATURE----- Martin
pgp00000.pgp
Description: PGP signature