Le 29/08/2026 à 16:20, Scott Kostyshak a écrit :
Also I reported the following in a separate email thread but I repeat here just
in case:
/home/scott/lyxbuilds/master-master/repo/src/frontends/qt/Action.cpp:34:36:
error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call]
34 | : Action(make_shared<FuncRequest>(move(func)), ltr_icon, text,
tooltip,
| ^
| std::
1 error generated.
This one is fixed now. With clang, I see the following in
GuiInputMethod.cpp:
In file included from
../../../../master/src/frontends/qt/GuiInputMethod.cpp:14:
../../../../master/src/frontends/qt/GuiInputMethod.h:55:20: warning:
definition of implicit
copy constructor for 'PreeditSegment' is deprecated because it
has a user-provided copy assignment operator
[-Wdeprecated-copy-with-user-provided-copy]
55 | PreeditSegment & operator=(const PreeditSegment
& another) {
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/new_allocator.h:203:23:
note:
in implicit copy constructor for
'lyx::frontend::GuiInputMethod::PreeditSegment' first required here
203 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/alloc_traits.h:714:8:
note:
in instantiation of function template specialization
'std::__new_allocator<lyx::frontend::GuiInputMethod::PreeditSegment>::construct<lyx::frontend::GuiInputMethod::PreeditSegment,
const lyx::frontend::GuiInputMethod::PreeditSegment &>' requested
here
714 | __a.construct(__p, std::forward<_Args>(__args)...);
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_vector.h:1411:21:
note:
in instantiation of function template specialization
'std::allocator_traits<std::allocator<lyx::frontend::GuiInputMethod::PreeditSegment>>::construct<lyx::frontend::GuiInputMethod::PreeditSegment,
const lyx::frontend::GuiInputMethod::PreeditSegment &>' requested
here
1411 | _Alloc_traits::construct(this->_M_impl,
this->_M_impl._M_finish,
| ^
../../../../master/src/frontends/qt/GuiInputMethod.cpp:457:23: note: in
instantiation of
member function
'std::vector<lyx::frontend::GuiInputMethod::PreeditSegment>::push_back'
requested here
457 |
d->style_.segments_.push_back(d->seg_turnout_.back());
| ^
JMarc
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel