[LyX/master] Display manually set itemize symbols

Scott Kostyshak skostysh at lyx.org
Sat Mar 5 20:36:14 UTC 2022


On Sat, Mar 05, 2022 at 01:40:28PM -0500, Scott Kostyshak wrote:
> On Sat, Mar 05, 2022 at 02:19:25PM +0100, Jürgen Spitzmüller wrote:
> > Am Freitag, dem 04.03.2022 um 11:01 -0500 schrieb Scott Kostyshak:
> > > Question mark sounds good. Could get a bit fancier and do "?1" and
> > > "?2" to differentiate between further levels of nesting. Or instead
> > > of "?1", perhaps "?4" or whatever the nesting depth is.
> > 
> > Done (the latter) at 44d1756783262a.
> 
> I just tried but I get the following:
> 
> LyX has caught an exception, it will now attempt to save all unsaved documents and exit.
> 
> Exception: std::bad_alloc

Perhaps it's related that I get the following warnings with Clang:


/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:641:29: error: returning reference to local temporary object [-Werror,-Wreturn-stack-address]
        return const_cast<Bullet&>(res);
                                   ^~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:640:17: note: binding reference variable 'res' here
        Bullet const & res = Bullet(fb);
                       ^     ~~~~~~~~~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:652:9: error: returning reference to local temporary object [-Werror,-Wreturn-stack-address]
        return res;
               ^~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:651:17: note: binding reference variable 'res' here
        Bullet const & res = Bullet(fb);
                       ^     ~~~~~~~~~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:663:29: error: returning reference to local temporary object [-Werror,-Wreturn-stack-address]
        return const_cast<Bullet&>(res);
                                   ^~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:662:17: note: binding reference variable 'res' here
        Bullet const & res = Bullet(fb);
                       ^     ~~~~~~~~~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:674:9: error: returning reference to local temporary object [-Werror,-Wreturn-stack-address]
        return res;
               ^~~
/home/scott/lyxbuilds/master-clang/repo/src/BufferParams.cpp:673:17: note: binding reference variable 'res' here
        Bullet const & res = Bullet(fb);
                       ^     ~~~~~~~~~~
4 errors generated.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220305/894de8dc/attachment.asc>


More information about the lyx-devel mailing list