Am Sonntag, 28. Oktober 2018 11:58:04 CET schrieb Scott Kostyshak <skost...@lyx.org>: > > How does the compiler know, that a global function is not used? > > I don't know.
It was missing declaration in a header file. > Now compilation with -Werror is broken for GCC 7.3.0. I did not realize > this would be such a tricky issue. It seems that fixing compilation with > -Werror and GCC 7.3.0 is causing more pain than it is solving. Let's > think of a reasonable policy and put it in our Development.lyx manual. > What do you think of the following policy? > A developer should fix any issue that causes compilation with -Werror > > to fail on the GCC version that ships with the previous Ubuntu LTS. > For example, if Ubuntu 18.10 is the most recent Ubuntu release, then > Ubuntu 18.04 is the current LTS and Ubuntu 16.04 is the previous LTS. > Thus, compilation with -Werror for the GCC version that ships with > 16.04 should be preserved. +1. Kornel
signature.asc
Description: This is a digitally signed message part.