United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6725819 Compiler warnings in gtk2 glue code
JDK-6725819 : Compiler warnings in gtk2 glue code

Details
Type:
Bug
Submit Date:
2008-07-15
Status:
Closed
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2010-05-21
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Cannot Reproduce
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together