> Author: younes
> Date: Tue Mar  4 13:22:48 2008
> New Revision: 23435
> 
> URL: http://www.lyx.org/trac/changeset/23435
>Log:
>Fix and improves labels and references in mathed.
>
>* InsetMathHull:

 g++ -DHAVE_CONFIG_H -I. -I../src -I../boost -Wextra -Wall -O -MT 
InsetMathHull.lo -MD -MP -MF .deps/InsetMathHull.Tpo -c 
mathed/InsetMathHull.cpp -o InsetMathHull.o
 mathed/InsetMathHull.cpp: In copy constructor 
'lyx::InsetMathHull::InsetMathHull(const lyx::InsetMathHull&)':
 mathed/InsetMathHull.cpp:166: warning: base class 'class lyx::InsetMathGrid' 
should be explicitly initialized in the copy constructor
 mathed/InsetMathHull.cpp: In member function 'virtual void 
lyx::InsetMathHull::swapRow(size_t)':
 mathed/InsetMathHull.cpp:701: error: no matching function for call to 
'swap(std::_Bit_reference, std::_Bit_reference)'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h:92: 
note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = 
std::_Bit_reference]
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h: In 
static member function 'static _OutputIterator 
std::__fill_n<true>::fill_n(_OutputIterator, _Size, const _Tp&) [with 
_OutputIterator = lyx::InsetLabel**, _Size = int, _Tp = int]':
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h:642:   
instantiated from '_OutputIterator std::fill_n(_OutputIterator, _Size, const 
_Tp&) [with _OutputIterator = lyx::InsetLabel**, _Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:183:
   instantiated from 'void std::__uninitialized_fill_n_aux(_ForwardIterator, 
_Size, const _Tp&, __true_type) [with _ForwardIterator = lyx::InsetLabel**, 
_Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:218:
   instantiated from 'void std::uninitialized_fill_n(_ForwardIterator, _Size, 
const _Tp&) [with _ForwardIterator = lyx::InsetLabel**, _Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:310:
   instantiated from 'void std::__uninitialized_fill_n_a(_ForwardIterator, 
_Size, const _Tp&, std::allocator<_Tp2>) [with _ForwardIterator = 
lyx::InsetLabel**, _Size = int, _Tp = int, _Tp2 = lyx::InsetLabel*]'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:791:   
instantiated from 'void std::vector<_Tp, 
_Alloc>::_M_initialize_dispatch(_Integer, _Integer, __true_type) [with _Integer 
= int, _Tp = lyx::InsetLabel*, _Alloc = std::allocator<lyx::InsetLabel*>]'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:262:   
instantiated from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, 
_InputIterator, const _Alloc&) [with _InputIterator = int, _Tp = 
lyx::InsetLabel*, _Alloc = std::allocator<lyx::InsetLabel*>]'
 mathed/InsetMathHull.cpp:146:   instantiated from here
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h:618: 
error: invalid conversion from 'const int' to 'lyx::InsetLabel*'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/boost_concept_check.h: 
In member function 'void __gnu_cxx::_OutputIteratorConcept<_Tp, 
_ValueT>::__constraints() [with _Tp = lyx::InsetLabel**, _ValueT = int]':
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/boost_concept_check.h:62:
   instantiated from 'void __gnu_cxx::__function_requires() [with _Concept = 
__gnu_cxx::_OutputIteratorConcept<lyx::InsetLabel**, int>]'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h:639:   
instantiated from '_OutputIterator std::fill_n(_OutputIterator, _Size, const 
_Tp&) [with _OutputIterator = lyx::InsetLabel**, _Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:183:
   instantiated from 'void std::__uninitialized_fill_n_aux(_ForwardIterator, 
_Size, const _Tp&, __true_type) [with _ForwardIterator = lyx::InsetLabel**, 
_Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:218:
   instantiated from 'void std::uninitialized_fill_n(_ForwardIterator, _Size, 
const _Tp&) [with _ForwardIterator = lyx::InsetLabel**, _Size = int, _Tp = int]'
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_uninitialized.h:310:
   instantiated from 'void std::__uninitialized_fill_n_a(_ForwardIterator, 
_Size, const _Tp&, std::allocator<_Tp2>) [with _ForwardIterator = 
lyx::InsetLabel**, _Size = int, _Tp = int, _Tp2 = lyx::InsetLabel*]'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:791:   
instantiated from 'void std::vector<_Tp, 
_Alloc>::_M_initialize_dispatch(_Integer, _Integer, __true_type) [with _Integer 
= int, _Tp = lyx::InsetLabel*, _Alloc = std::allocator<lyx::InsetLabel*>]'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:262:   
instantiated from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, 
_InputIterator, const _Alloc&) [with _InputIterator = int, _Tp = 
lyx::InsetLabel*, _Alloc = std::allocator<lyx::InsetLabel*>]'
 mathed/InsetMathHull.cpp:146:   instantiated from here
 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/boost_concept_check.h:467:
 error: invalid conversion from 'int' to 'lyx::InsetLabel*'
 make[2]: *** [InsetMathHull.lo] Error 1

 pavel

Reply via email to