JDK-6725819 : Compiler warnings in gtk2 glue code
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2008-07-15
  • Updated: 2011-01-19
  • Resolved: 2010-05-21
Related Reports
Relates :  
Description
From jdk7 build logs:

"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1057: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1105: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1299: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1667: warning: non-constant initializer: op "NAME"
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1902: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1911: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1930: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1985: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1988: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 1992: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 2229: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 2230: warning: declaration can not follow a statement
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 404: warning: assignment type mismatch:
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 430: warning: assignment type mismatch:
"../../../src/solaris/native/sun/awt/gtk2_interface.c", line 437: warning: assignment type mismatch:

Comments
EVALUATION The GTK glue code was fixed to be more classic C style some time ago.
2010-05-21