On Sat, Mar 23, 2002 at 08:32:12AM +0100, Herbert Voss wrote: > Kayvan A. Sylvan wrote: > > >Latest CVS does not compile: > > > >g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images > >-I../../../src/ -I../../../src/frontends/ > >-I../../../src/frontends/controllers -I../../.. -I../../.. > >-I../../../boost -isystem /usr/X11R6/include -O2 -m486 > >-fno-strength-reduce -W -Wall -c xforms_helpers.C > >-Wp,-MD,.deps/xforms_helpers.TPlo > >xforms_helpers.C: In function `void updateWidgetsFromLength(FL_OBJECT *, > >FL_OBJECT *, const LyXLength &, const string &)': > >xforms_helpers.C:217: `::find' undeclared (first use here) > > > #include <algorithm> > > Herbert > > -- > http://www.lyx.org/help/
Yes. That works. Index: src/frontends/xforms/xforms_helpers.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/xforms_helpers.C,v retrieving revision 1.40 diff -u -r1.40 xforms_helpers.C --- src/frontends/xforms/xforms_helpers.C 2002/03/22 11:41:23 1.40 +++ src/frontends/xforms/xforms_helpers.C 2002/03/23 09:10:43 @@ -12,6 +12,7 @@ #include <fstream> // ofstream #include <vector> +#include <algorithm> #ifdef __GNUG_ #pragma implementation -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
msg35230/pgp00000.pgp
Description: PGP signature