Le 08/03/2023 à 18:48, Jean-Marc Lasgouttes a écrit :
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.
There is a fix here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532#c11
but I do not think it will work for us.
I could live with a #pragma at function definition time, but not at
every use.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel