Abdelrazak Younes wrote:
Pavel Sanda wrote:

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.

Seems like gcc wants to use the swap specialisation for vector<bool>...

Abdel.

Reply via email to