I was all excited to see Angus' patch had gone in. However, I couldn't
compile FormPreferences.C. (Note: I didn't rerun autogen or configure or
whatever, so if that's the problem, then I'm sorry.)
gcc -v:
gcc version 2.95.2 19991024 (release)
Here's the errors. (I snipped out the "warning: can't inline call to `int
__black_count" that I get on most of the files that get compiled.)
-------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/
-I../../../src/frontends/ -I../../.. -I../../.. -I../../../boost -isystem
/usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall -Wconversion
-Winline -Wp,-MD,.deps/FormPreferences.pp -c FormPreferences.C -o
FormPreferences.o
FormPreferences.C: In method `bool FormPreferences::Colors::Modify() const':
FormPreferences.C:976: comparison of distinct pointer types `NamedColor *'
and `const XformColor *' lacks a cast
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:
In method `struct _Deque_iterator<int,int &,int *,0>
deque<int,allocator<int>,0>::erase(_Deque_iterator<int,int &,int *,0>,
_Deque_iterator<int,int &,int *,0>)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:617:
instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:1051:
warning: comparison between signed and unsigned
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:
In method `void
deque<int,allocator<int>,0>::_M_insert_aux<_Deque_iterator<int,const int
&,const int &,0> >(_Deque_iterator<int,int &,int *,0>,
_Deque_iterator<int,const int &,const int &,0>, _Deque_iterator<int,const
int &,const int &,0>, unsigned int)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:1273:
instantiated from
`deque<int,allocator<int>,0>::insert<_Deque_iterator<int,const int &,const
int &,0> >(_Deque_iterator<int,int &,int *,0>, _Deque_iterator<int,const int
&,const int &,0>, _Deque_iterator<int,const int &,const int &,0>,
forward_iterator_tag)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:791:
instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/stl_deque.h:1406:
warning: comparison between signed and unsigned
make[4]: *** [FormPreferences.lo] Error 1
make[4]: Leaving directory
`/home/karger/lyx/CVS/lyx-devel/src/frontends/xforms'
-Amir