On Thu, Nov 08, 2007 at 06:05:20AM -0000, [EMAIL PROTECTED] wrote: > Author: forenr > Date: Thu Nov 8 07:05:19 2007 > New Revision: 21513 > > URL: http://www.lyx.org/trac/changeset/21513 > Log: > Fix problems with odocstream on "exotic" systems caused by the strfwd gimmick. > > * src/support/docstream.{cpp,h}: > Move insertion operator for char types from docstream.h to > docstream.cpp and compile it only when USE_WCHAR_T is not defined. > > * src/support/strfwd.h: > Implement forward declarations in standard C++ way.
I'd like to see an explanation what does not work for you, and why. <iosfwd> is stll >6400 lines on my system, so you basically killed 30% of the benefits of that work without giving a reason. > URL: > http://www.lyx.org/trac/file/lyx-devel/trunk/src/support/strfwd.h?rev=21513 > ============================================================================== > --- lyx-devel/trunk/src/support/strfwd.h (original) > +++ lyx-devel/trunk/src/support/strfwd.h Thu Nov 8 07:05:19 2007 > @@ -1,14 +1,14 @@ > // -*- C++ -*- > - > -// Heavily inspired by /usr/include/c++/4.1/bits > -// > -// Copyright (C) 2001, 2002 Free Software Foundation, Inc. > -// > -// This file is part of the GNU ISO C++ Library. This library is free > -// software; you can redistribute it and/or modify it under the > -// terms of the GNU General Public License as published by the > -// Free Software Foundation; either version 2, or (at your option) > -// any later version. > +/** > + * \file strfwd.h > + * This file is part of LyX, the document processor. > + * Licence details can be found in the file COPYING. > + * > + * \author André Pönitz > + * \author Enrico Forestieri > + * > + * Full author contact details are available in file CREDITS. > + */ If we re-use other people's code, leaving their copyright messages intact is the least we can do.