Am Dienstag, 16. Januar 2007 15:46 schrieb Abdelrazak Younes: > Georg Baum wrote: > > Abdelrazak Younes wrote: > > > >> Kornel Benko wrote: > >>> Am Dienstag, 16. Januar 2007 15:09 schrieb Kornel Benko: > >>> > >>> Attached cures it. > >> But this is not the good fix ;-) > > > > Indeed not. string() should work even in older gcc versions. > > > >> I think the missing <string> header was the problem. > > > > I don't think so. Otherwise it would have complained about docstring, too. > > Indeed... It's probably the std::xxx declaration which were in the lyx > namespace. This is known to fail for mingw for example. > I've fixed that.
But it's still not compilable. if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost -W -Wall -I/usr/X11R6/include -g -O -MT CutAndPaste.o -MD -MP -MF ".deps/CutAndPaste.Tpo" -c -o CutAndPaste.o CutAndPaste.C; \ then mv -f ".deps/CutAndPaste.Tpo" ".deps/CutAndPaste.Po"; else rm -f ".deps/CutAndPaste.Tpo"; exit 1; fi CutAndPaste.C: In function `void lyx::<unnamed>::putClipboard(const lyx::ParagraphList&, unsigned int, const lyx::docstring&)': CutAndPaste.C:332: error: type specifier omitted for parameter CutAndPaste.C:332: error: syntax error before `false' CutAndPaste.C:333: error: request for member `setUnnamed' in ` lyx::<unnamed>::buffer', which is of non-aggregate type `lyx::Buffer ()(...) ' C regards Kornel -- Kornel Benko [EMAIL PROTECTED]
pgpV6KIlQ2wXT.pgp
Description: PGP signature