Pavel Sanda wrote:
URL: http://www.lyx.org/trac/changeset/23435
Log:
Fix and improves labels and references in mathed.

* InsetMathHull:
Better now?

e-e :)

 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:167: warning: base class 'class lyx::InsetMathGrid' 
should be explicitly initialized in the copy constructor

This warning seems bogus to me and I don't know how to shut it down without code duplication...

 mathed/InsetMathHull.cpp: In member function 'virtual void 
lyx::InsetMathHull::swapRow(size_t)':
 mathed/InsetMathHull.cpp:702: 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]
 make[2]: *** [InsetMathHull.lo] Error 1

So vector doesn't look bool? That's really stupid... I guess the fix is to switch to an int.

Abdel.

Reply via email to