RFR: 8241476: Linux build warning issued on updated compilers (Ubuntu 18.04.4 / 20.04)
Kevin Rushforth
kcr at openjdk.java.net
Tue Mar 24 11:47:38 UTC 2020
On Tue, 24 Mar 2020 01:36:29 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:
> Simple fix to remove annoying warnings.
The problem is that gcc, for whatever reason, started issuing a (useless) warning if you pass the
`-Werror=implicit-function-declaration` option to gcc for C++ files. I don't like the solution of removing that flag
for C files. I think the better solution will be to have a set of options that are common to both C and C++ (all but
this one currently), and then add `-Werror=implicit-function-declaration` only to the options for C. Until then, I
think we live with this warning. It's better than losing the checking for C files.
-------------
Changes requested by kcr (Lead).
PR: https://git.openjdk.java.net/jfx/pull/150
More information about the openjfx-dev
mailing list