Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-10 Thread Jean-Marc Lasgouttes
Le 10/11/2023 à 12:16, Pavel Sanda a écrit : On Fri, Nov 10, 2023 at 10:55:56AM +0100, Jean-Marc Lasgouttes wrote: PS: I have to admit that I have a kink with weird uses of preprocessor macros: https://gitlab.inria.fr/lasgoutt/parameters Funny, I found # and ## operators very handy for

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-10 Thread Pavel Sanda
On Fri, Nov 10, 2023 at 10:55:56AM +0100, Jean-Marc Lasgouttes wrote: > PS: I have to admit that I have a kink with weird uses of preprocessor > macros: https://gitlab.inria.fr/lasgoutt/parameters Funny, I found # and ## operators very handy for writing commandline parameter parsing via simple

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-10 Thread Jean-Marc Lasgouttes
Le 09/11/2023 à 21:54, José Matos a écrit : On Thu, 2023-11-09 at 20:34 +0100, Pavel Sanda wrote: Looks reasonable. Pavel I agree. After so many dark spells I fear for Jean-Marc's sanity. :-D You mean that I should not rewrite parts of LyX in preprocessor macros as I intended to? JMarc

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-09 Thread José Matos
On Thu, 2023-11-09 at 20:34 +0100, Pavel Sanda wrote: > Looks reasonable. Pavel I agree. After so many dark spells I fear for Jean-Marc's sanity. :-D -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-09 Thread Pavel Sanda
On Thu, Nov 09, 2023 at 06:21:03PM +0100, Jean-Marc Lasgouttes wrote: > Thoughts? Looks reasonable. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-09 Thread Jean-Marc Lasgouttes
Le 08/11/2023 à 22:50, Pavel Sanda a écrit : We have to do something for this annoying warning. What about the following? If it works why not. I stopped following that gcc bug, but last time I looked they gcc devs seemed convinced that false-positive ratio is small enough that they will not

Re: [PATCH] Re: New warning (or at least I only noticed it now)

2023-11-08 Thread Pavel Sanda
On Wed, Nov 08, 2023 at 06:09:44PM +0100, Jean-Marc Lasgouttes wrote: > Le 22/11/2022 ?? 03:04, Pavel Sanda a écrit : > >On Tue, Nov 22, 2022 at 01:47:26AM +, José Matos wrote: > >>On Mon, 2022-11-21 at 23:08 +0100, Pavel Sanda wrote: > >>>Can you try whether the attached changes anything? P >

[PATCH] Re: New warning (or at least I only noticed it now)

2023-11-08 Thread Jean-Marc Lasgouttes
Le 22/11/2022 à 03:04, Pavel Sanda a écrit : On Tue, Nov 22, 2022 at 01:47:26AM +, José Matos wrote: On Mon, 2022-11-21 at 23:08 +0100, Pavel Sanda wrote: Can you try whether the attached changes anything? P It does, now those attached are what remains. Nice, so now we know the