On Wed, Mar 08, 2023 at 06:48:31PM +0100, Jean-Marc Lasgouttes wrote: > Le 08/03/2023 ?? 14:29, Pavel Sanda a écrit : > >So let's test the next week :) > > > >The alternative to reporting to gcc is using > > > >+#pragma GCC diagnostic push > >+#pragma GCC diagnostic ignored "-Wdangling-reference" > > our_code_triggering_warning > >+#pragma GCC diagnostic pop > > Or use -Wno-dangling-reference until they fix it. Seriously, this warning is > too random to be useful.
Jose, can you try the current gcc, whether the warning is still there? I believe their view on what's fixable WRT dangling-reference stabilized. If it's still there -Wno-dangling-reference might be the best way to go forward (unless you want to produce minimal example). Pavel -- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
