Compilation warning on current master

Scott Kostyshak skostysh at lyx.org
Sun May 4 10:49:01 UTC 2025


On Sun, May 04, 2025 at 12:20:57PM +0200, Jürgen Spitzmüller wrote:
> Am Sonntag, dem 04.05.2025 um 12:13 +0200 schrieb Scott Kostyshak:
> > I now get (with -Werror):
> > 
> > /home/scott/lyxbuilds/master-
> > master/repo/src/insets/InsetRef.cpp:1005:55: error: left operand of
> > comma operator has no effect [-Werror,-Wunused-value]
> >  1005 |                 || (cmd == "formatted" &&
> > !(buffer().masterParams().xref_package, "prettyref"))
> >       |                                            
> > ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
> 
> Fixed.

Thanks, compiles for me now.

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/20250504/9541082e/attachment.sig>


More information about the lyx-devel mailing list