Compiling Plataform Preferences on Ubuntu 16.04

Thiago Milczarek Sayão thiago.sayao at gmail.com
Mon Dec 18 10:12:41 UTC 2023


Hi,

I get some compilation errors when building JavaFX on Ubuntu 16.04, which
seems related to the newly introduced Platform preferences API.

Should we bother to make it work?

In file included from
/home/tsayao/jose/jfx/modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp:45:0:
/home/tsayao/jose/jfx/modules/javafx.graphics/src/main/native-glass/gtk/PlatformSupport.h:30:7:
error: override controls (override/final) only available with -std=c++11 or
-std=gnu++11 [-Werror]
 class PlatformSupport final
       ^
/home/tsayao/jose/jfx/modules/javafx.graphics/src/main/native-glass/gtk/PlatformSupport.h:35:47:
error: defaulted and deleted functions only available with -std=c++11 or
-std=gnu++11 [-Werror]
     PlatformSupport(PlatformSupport const&) = delete;
                                               ^
/home/tsayao/jose/jfx/modules/javafx.graphics/src/main/native-glass/gtk/PlatformSupport.h:36:58:
error: defaulted and deleted functions only available with -std=c++11 or
-std=gnu++11 [-Werror]
     PlatformSupport& operator=(PlatformSupport const&) = delete;


-- Thiago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231218/d9718e11/attachment.htm>


More information about the openjfx-dev mailing list