The following modules have compile time warnings (partial warnings list for each module)
for gradle sdk -PCOMPILE_TARGETS=armv6sf
:graphics:compileDecoraNativeShadersArmv6sf
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/jsl-decora/SSEBlend_OVERLAYPeer.cc:30:0:
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/jsl-decora/SSEBlend_SRC_OVERPeer.cc:30:0:
:graphics:ccArmv6sfFontT2K
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'AdjustBoldAlignmentValues':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:159:35: warning: operation on 'x' may be undefined [-Wsequence-point]
:graphics:ccArmv6sfGlassGtk
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/headers/glass/armv6sf/com_sun_glass_ui_gtk_GtkCursor.h:2:0,
:graphics:ccArmv6sfIio
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c: In function 'alloc_funny_pointers':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c:162:15: warning: 'main' is usually a function [-Wmain]
:graphics:ccArmv6sfPrism
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c: In function 'Java_com_sun_prism_impl_shape_NativePiscesRasterizer_produceFillAlphas':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c:208:13: warning: missing initializer [-Wmissing-field-initializers]
:graphics:ccArmv6sfPrismES2Eglfb
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/eglUtils.c: In function 'eglContextFromConfig':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/eglUtils.c:220:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/EGLFBGLFactory.c: In function 'Java_com_sun_prism_es2_EGLFBGLFactory_nInitialize':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/EGLFBGLFactory.c:116:22: warning: assignment makes pointer from integer without a cast [enabled by default]
:graphics:ccArmv6sfPrismSW
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-sw/PiscesPaint.c:62:9: warning: #pragma GCC target is not supported for this machine [-Wpragmas]
:jmx:compileJava
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/modules/jmx/src/main/java/com/oracle/javafx/jmx/SGMXBeanImpl.java uses or overrides a deprecated API.
[ant:javac] Note: Recompile with -Xlint:deprecation for details.
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/modules/jmx/src/main/java/com/oracle/javafx/jmx/SGMXBeanImpl.java uses unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
:apps:performance:GraphicsPerformance:compileJava
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/apps/performance/GraphicsPerformance/src/main/java/nodecount/BenchTest.java uses unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
for gradle sdk on Linux host
:graphics:ccLinuxFontFreetype
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c: In function 'setFT_BitmapFields':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c:101:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c:105:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
:graphics:ccLinuxFontT2K
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'AdjustBoldAlignmentValues':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:159:35: warning: operation on 'x' may be undefined [-Wsequence-point]
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'ApplyItalicContour':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:630:41: warning: operation on 'xValues' may be undefined [-Wsequence-point]
:graphics:ccLinuxGlass
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp: In function 'jint JNI_OnLoad(JavaVM*, void*)':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:215:5: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:215:23: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
:graphics:ccLinuxIio
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c: In function 'alloc_funny_pointers':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c:162:15: warning: 'main' is usually a function [-Wmain]
:graphics:ccLinuxPrism
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c: In function 'Java_com_sun_prism_impl_shape_NativePiscesRasterizer_produceFillAlphas':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c:208:13: warning: missing initializer [-Wmissing-field-initializers]
:graphics:ccLinuxPrismES2
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c: In function 'Java_com_sun_prism_es2_X11GLContext_nInitialize':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c:276:13: warning: pointer targets in passing argument 1 of 'glXGetProcAddress' differ in signedness [-Wpointer-sign]
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/../PrismES2Defs.h:45:0,
from /home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c:33:
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/GL/glx.h:298:15: note: expected 'const GLubyte *' but argument is of type 'char *'
=============================
Some of the warning can help avoid trivial crashes (that can be hard to detect, espacially when placed on a code branch that seldom get executed), like wrong pointer assignments
for gradle sdk -PCOMPILE_TARGETS=armv6sf
:graphics:compileDecoraNativeShadersArmv6sf
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/jsl-decora/SSEBlend_OVERLAYPeer.cc:30:0:
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/jsl-decora/SSEBlend_SRC_OVERPeer.cc:30:0:
:graphics:ccArmv6sfFontT2K
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'AdjustBoldAlignmentValues':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:159:35: warning: operation on 'x' may be undefined [-Wsequence-point]
:graphics:ccArmv6sfGlassGtk
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/build/generated-src/headers/glass/armv6sf/com_sun_glass_ui_gtk_GtkCursor.h:2:0,
:graphics:ccArmv6sfIio
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c: In function 'alloc_funny_pointers':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c:162:15: warning: 'main' is usually a function [-Wmain]
:graphics:ccArmv6sfPrism
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c: In function 'Java_com_sun_prism_impl_shape_NativePiscesRasterizer_produceFillAlphas':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c:208:13: warning: missing initializer [-Wmissing-field-initializers]
:graphics:ccArmv6sfPrismES2Eglfb
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/eglUtils.c: In function 'eglContextFromConfig':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/eglUtils.c:220:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/EGLFBGLFactory.c: In function 'Java_com_sun_prism_es2_EGLFBGLFactory_nInitialize':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/eglfb/EGLFBGLFactory.c:116:22: warning: assignment makes pointer from integer without a cast [enabled by default]
:graphics:ccArmv6sfPrismSW
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-sw/PiscesPaint.c:62:9: warning: #pragma GCC target is not supported for this machine [-Wpragmas]
:jmx:compileJava
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/modules/jmx/src/main/java/com/oracle/javafx/jmx/SGMXBeanImpl.java uses or overrides a deprecated API.
[ant:javac] Note: Recompile with -Xlint:deprecation for details.
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/modules/jmx/src/main/java/com/oracle/javafx/jmx/SGMXBeanImpl.java uses unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
:apps:performance:GraphicsPerformance:compileJava
[ant:javac] Note: /home/assaf/ws/udev-refactoring/rt/apps/performance/GraphicsPerformance/src/main/java/nodecount/BenchTest.java uses unchecked or unsafe operations.
[ant:javac] Note: Recompile with -Xlint:unchecked for details.
for gradle sdk on Linux host
:graphics:ccLinuxFontFreetype
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c: In function 'setFT_BitmapFields':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c:101:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-font/freetype.c:105:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
:graphics:ccLinuxFontT2K
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'AdjustBoldAlignmentValues':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:159:35: warning: operation on 'x' may be undefined [-Wsequence-point]
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c: In function 'ApplyItalicContour':
/home/assaf/ws/udev-refactoring/rt-closed/javafx-font-t2k-native/src/shapet.c:630:41: warning: operation on 'xValues' may be undefined [-Wsequence-point]
:graphics:ccLinuxGlass
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp: In function 'jint JNI_OnLoad(JavaVM*, void*)':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:215:5: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:215:23: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
:graphics:ccLinuxIio
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c: In function 'alloc_funny_pointers':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-iio/libjpeg7/jdmainct.c:162:15: warning: 'main' is usually a function [-Wmain]
:graphics:ccLinuxPrism
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c: In function 'Java_com_sun_prism_impl_shape_NativePiscesRasterizer_produceFillAlphas':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism/NativePiscesRasterizer.c:208:13: warning: missing initializer [-Wmissing-field-initializers]
:graphics:ccLinuxPrismES2
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c: In function 'Java_com_sun_prism_es2_X11GLContext_nInitialize':
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c:276:13: warning: pointer targets in passing argument 1 of 'glXGetProcAddress' differ in signedness [-Wpointer-sign]
In file included from /home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/../PrismES2Defs.h:45:0,
from /home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/x11/X11GLContext.c:33:
/home/assaf/ws/udev-refactoring/rt/modules/graphics/src/main/native-prism-es2/GL/glx.h:298:15: note: expected 'const GLubyte *' but argument is of type 'char *'
=============================
Some of the warning can help avoid trivial crashes (that can be hard to detect, espacially when placed on a code branch that seldom get executed), like wrong pointer assignments