Re: Failure to compile with gcc-12 (2.3.x)

2022-05-14 Thread Jürgen Spitzmüller
Am Donnerstag, dem 03.02.2022 um 17:06 + schrieb José Abílio Matos: > The changes were minimal and already referred here. > > It was enough to patch two files. The equivalent patch is already > applied to the devel branch. Just to confirm: OpenSuse Tumbleweed pushed gcc 12 on me today. I got

Re: Failure to compile with gcc-12 (2.3.x)

2022-02-03 Thread Scott Kostyshak
On Thu, Feb 03, 2022 at 05:04:29PM +, José Abílio Matos wrote: > On Thursday, 27 January 2022 13.09.09 WET Scott Kostyshak wrote: > > Except for that issue does it build with -Werror ? > > > > Scott > > For completeness sake, since this was answered before, it follows here an > example of

Re: Failure to compile with gcc-12 (2.3.x)

2022-02-03 Thread José Abílio Matos
On Thursday, 27 January 2022 13.04.12 WET José Abílio Matos wrote: > Hi, > > we are at the time of year again. :-) > > > The gcc project will release version 12 and in Fedora we are rebuilding all > packages with it. The changes were minimal and already referred here. It was enough to patch

Re: Failure to compile with gcc-12 (2.3.x)

2022-02-03 Thread José Abílio Matos
On Thursday, 27 January 2022 13.09.09 WET Scott Kostyshak wrote: > Except for that issue does it build with -Werror ? > > Scott For completeness sake, since this was answered before, it follows here an example of the output that you can expect when building lyx with gcc-12. In this case I am

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-31 Thread José Abílio Matos
On Thursday, 27 January 2022 13.52.56 WET Jean-Marc Lasgouttes wrote: > José, what can you tell me about these messages? > annobin: Timeout.cpp: Warning: -D_GLIBCXX_ASSERTIONS not defined > > We use _GLIBCXX_DEBUG currently. Should we switch to > _GLIBCXX_ASSERTIONS? I have not found the gcc docs

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread Scott Kostyshak
On Thu, Jan 27, 2022 at 03:07:25PM +, José Abílio Matos wrote: > On Thursday, 27 January 2022 13.09.09 WET Scott Kostyshak wrote: > > Except for that issue does it build with -Werror ? > > > > Scott > > As Jean-Marc said the compilation has lots of warnings. Some of them are not > our

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread Kornel Benko
Am Thu, 27 Jan 2022 16:22:18 + schrieb José Abílio Matos : > On Thursday, 27 January 2022 15.48.33 WET Kornel Benko wrote: > > This one may be needed for 2.4.0 version of lyxfind.cpp too. > > You are right but for some reason I got away without this fix, only the > cstring of the other

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread José Abílio Matos
On Thursday, 27 January 2022 15.48.33 WET Kornel Benko wrote: > This one may be needed for 2.4.0 version of lyxfind.cpp too. You are right but for some reason I got away without this fix, only the cstring of the other thread. (BTW I am puzzled) The reason could be some change in the code

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread Kornel Benko
Am Thu, 27 Jan 2022 15:05:34 + schrieb José Abílio Matos : > lyxfind.cpp:55:1: note: 'std::ostream_iterator' is defined in header > ''; did > you forget to '#include '? > >    54 | #include "support/regex.h" > >   +++ |+#include > >    55 | This one may be needed for 2.4.0 version of

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread José Abílio Matos
On Thursday, 27 January 2022 13.09.09 WET Scott Kostyshak wrote: > Except for that issue does it build with -Werror ? > > Scott As Jean-Marc said the compilation has lots of warnings. Some of them are not our fault, so I am not sure if it is possible to filter system warnings from - Werror. :-)

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread José Abílio Matos
On Thursday, 27 January 2022 13.52.56 WET Jean-Marc Lasgouttes wrote: > This one is a warning, but you cut part of it out. For complete sake the complete diagnose (warnings and errors) is here: make[4]: Entering directory '/builddir/build/BUILD/lyx-2.3.6.1/src' g++ -DHAVE_CONFIG_H -I. -I..

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread Jean-Marc Lasgouttes
Le 27/01/2022 à 14:09, Scott Kostyshak a écrit : On Thu, Jan 27, 2022 at 01:04:12PM +, José Abílio Matos wrote: Hi, we are at the time of year again. :-) The gcc project will release version 12 and in Fedora we are rebuilding all packages with it. There is a failure to build 2.3.x

Re: Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread Scott Kostyshak
On Thu, Jan 27, 2022 at 01:04:12PM +, José Abílio Matos wrote: > Hi, > we are at the time of year again. :-) > > The gcc project will release version 12 and in Fedora we are rebuilding all > packages with it. > > There is a failure to build 2.3.x (e.g. on x86-54): >

Failure to compile with gcc-12 (2.3.x)

2022-01-27 Thread José Abílio Matos
Hi, we are at the time of year again. :-) The gcc project will release version 12 and in Fedora we are rebuilding all packages with it. There is a failure to build 2.3.x (e.g. on x86-54): https://kojipkgs.fedoraproject.org//work/tasks/4412/81984412/build.log 73 | class MatchString :