Build JFX-10 on linux gcc 6

Kevin Rushforth kevin.rushforth at oracle.com
Thu Oct 19 18:40:09 UTC 2017


Hi Laurent,

We don't have an easy way to suppress -Werror (no equivalent of JDK's 
--disable-warnings-as-errors configure option).

For the short term, you can edit buildSrc/linux.gradle and remove the 
--Werror flags that are causing the problems.

Can you file a bug to track fixing these warnings on gcc 6? Even though 
we still build our production bits using gcc 4.9.1 we don't want to stop 
someone from building on the latest compiler.

-- Kevin


Laurent Bourgès wrote:
> Hi,
>
> I cloned a fresh openjfx 10 and I got gradle build error with gcc 6 on 
> my ubuntu 17.4 as gcc warnings are considered as errors.
>
> Sorry I forgot how to fix the gradle setting to avoid -Werror.
>
> What is the trick ?
>
> Laurent


More information about the openjfx-dev mailing list