Re: New warning on old function

2022-09-27 Thread Kornel Benko
Am Tue, 27 Sep 2022 16:40:40 +0200 schrieb Jean-Marc Lasgouttes : > 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

Re: New warning on old function

2022-09-27 Thread Jean-Marc Lasgouttes
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 s

Re: New warning on old function

2022-09-25 Thread Kornel Benko
Am Sat, 24 Sep 2022 21:07:09 -0400 schrieb Scott Kostyshak : > It's in at 725168ba. Do you see any other warnings with gcc-12? > > Scott No other warnings yet. Thanks Kornel pgpdcp1b84z4P.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mailing list lyx-devel@lists.lyx.or

Re: New warning on old function

2022-09-24 Thread Scott Kostyshak
On Sat, Sep 24, 2022 at 10:57:05PM +0200, Kornel Benko wrote: > Am Sat, 24 Sep 2022 14:51:17 -0400 > schrieb Scott Kostyshak : > > > On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > > > > > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches > > > end of > >

Re: New warning on old function

2022-09-24 Thread Kornel Benko
Am Sat, 24 Sep 2022 14:51:17 -0400 schrieb Scott Kostyshak : > On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > > > /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

Re: New warning on old function

2022-09-24 Thread Scott Kostyshak
On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > /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. It makes sense if the warning is only given in debug mode sinc