New warning on old function

Kornel Benko kornel at lyx.org
Tue Sep 27 15:48:18 UTC 2022


Am Tue, 27 Sep 2022 16:40:40 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:

> Le 21/09/2022 à 20:10, Kornel Benko a écrit :
> > 
> > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches end of
> > non-void function [-Wreturn-type]
> > 
> > This is with gcc-12, compiled in debug mode.  
> 
> What gcc 12 version? On ububtu jammy, we have 12.1, which has a weird 
> warning in the standard library. Not something we can fix ourselves, though.
> 
> JMarc

It is:
	gcc-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
but I can switch to (standard here) gcc-11 if needed.

	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220927/37bfd0be/attachment.asc>


More information about the lyx-devel mailing list