I tried building also with --disable-cxx11, and in that case I do not get the error above. But I do get the sort of error people are seeing on OSX:

In file included from ../../../../src/frontends/qt4/Menus.cpp:56:0:
../../../../src/TocBackend.h: In instantiation of ‘void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = lyx::TocBuilder::frame]’: /usr/include/c++/4.9.2/bits/stl_deque.h:739:248: required from ‘class std::__cxx1998::deque<lyx::TocBuilder::frame, std::allocator<lyx::TocBuilder::frame> >’ /usr/include/c++/4.9.2/debug/deque:42:11: required from ‘class std::__debug::deque<lyx::TocBuilder::frame, std::allocator<lyx::TocBuilder::frame> >’ /usr/include/c++/4.9.2/bits/stl_stack.h:102:46: required from ‘class std::stack<lyx::TocBuilder::frame>’
../../../../src/TocBackend.h:155:20:   required from here
../../../../src/TocBackend.h:148:9: error: non-static const member ‘const size_type lyx::TocBuilder::frame::pos’, can’t use default assignment operator
  struct frame {
         ^
In file included from /usr/include/c++/4.9.2/bits/concept_check.h:55:0,
                 from /usr/include/c++/4.9.2/bits/move.h:34,
                 from /usr/include/c++/4.9.2/bits/stl_pair.h:59,
                 from /usr/include/c++/4.9.2/utility:70,
                 from /usr/include/c++/4.9.2/algorithm:60,
from ../../../../boost/boost/function/detail/prologue.hpp:13,
                 from ../../../../boost/boost/function.hpp:24,
                 from ../../../../src/frontends/Application.h:21,
                 from ../../../../src/frontends/qt4/GuiApplication.h:16,
                 from ../../../../src/frontends/qt4/Menus.cpp:22:
/usr/include/c++/4.9.2/bits/boost_concept_check.h:206:11: note: synthesized method ‘lyx::TocBuilder::frame& lyx::TocBuilder::frame::operator=(const lyx::TocBuilder::frame&)’ first required here
       __a = __a;                        // require assignment operator
           ^
Makefile:968: recipe for target 'Menus.o' failed

Richard

Reply via email to