On Wed, Mar 08, 2023 at 08:30:50AM +0000, José Matos wrote:
> On Tue, 2023-03-07 at 21:16 +0100, Pavel Sanda wrote:
> > One possible fix just got into upstream gcc. So we'll see what will
> > Jose report after next release of gcc. If that still persits we
> > should perhaps report it and see whether they consider it grievous
> > enough...
> > 
> > Pavel
> 
> I am using a gcc snapshot, release weekly, by Jake Wakely (of C++
> fame). :-)
> 
> https://copr.fedorainfracloud.org/coprs/jwakely/gcc-latest/
> 
> The purpose of my report is just to highlight warnings that newer
> versions of the compilers provide.

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

Pavel
-- 
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to