On Fri, 7 Feb 2025 at 23:49, Scott Kostyshak <skost...@lyx.org> wrote:
> I now get the following on current master: > > /home/scott/lyxbuilds/master-master/repo/src/mathed/MacroTable.cpp:135:16: > error: returning address of local temporary object > [-Werror,-Wreturn-stack-address] > 135 | return sym_ ? sym_->mathml_type().c_str() : 0; I was actually debugging this code, because it made generating the UG as DocBook crash. I can no longer reproduce the crash at 1094439c (I tried using std::string_view, but it had the same problem: the view outlived the pointed data).
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel