Am Sonntag, 14. Oktober 2018 10:59:08 CEST schrieb Scott Kostyshak <skost...@lyx.org>: > On Sun, Oct 14, 2018 at 08:11:19AM +0200, Kornel Benko wrote: > > > I agree. OTOH, I need it while debugging. Do you know how to trick the > > compiler? > > For now, I will remove the routine > > Maybe this? > > https://stackoverflow.com/a/3394268/1376404 > > Scott
Yes, some pragma would be OK. If I understood correctly #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Werror" some unused code #pragma GCC diagnostic pop could do it. Thanks. Kornel
signature.asc
Description: This is a digitally signed message part.