[kaffe] make failed: libraries/clib/awt/X/fnt.c

Ito Kazumitsu kaz@maczuka.gcd.org
Sun Mar 28 14:40:06 2004


Hi,

In my environment,
   OS: FreeBSD 4.7-RELEASE
   gcc: 2.95.4

Today's make showed:

fnt.c: At top level:
fnt.c:22: warning: initialization discards qualifiers from pointer target type
fnt.c:28: warning: initialization discards qualifiers from pointer target type
fnt.c:28: warning: initialization discards qualifiers from pointer target type
fnt.c:28: warning: initialization discards qualifiers from pointer target type
fnt.c:28: warning: initialization discards qualifiers from pointer target type
fnt.c:28: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:29: warning: initialization discards qualifiers from pointer target type
fnt.c:36: warning: initialization discards qualifiers from pointer target type
fnt.c:36: warning: initialization discards qualifiers from pointer target type
fnt.c:36: warning: initialization discards qualifiers from pointer target type
fnt.c:68: warning: declaration of `X' shadows global declaration
fnt.c: In function `create_xoc':
fnt.c:69: warning: declaration of `X' shadows global declaration
fnt.c: In function `Java_java_awt_Toolkit_fntInitFont':
fnt.c:99: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntFreeFont':
fnt.c:177: warning: unused parameter `env'
fnt.c:177: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntInitFontMetrics':
fnt.c:194: parameter name omitted
fnt.c:196: `xoc' undeclared (first use in this function)
fnt.c:196: (Each undeclared identifier is reported only once
fnt.c:196: for each function it appears in.)
fnt.c:194: warning: unused parameter `env'
fnt.c:194: warning: unused parameter `clazz'
fnt.c:197: warning: control reaches end of non-void function
fnt.c: In function `Java_java_awt_Toolkit_fntFreeFontMetrics':
fnt.c:199: parameter name omitted
fnt.c:199: warning: unused parameter `env'
fnt.c:199: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetAscent':
fnt.c:203: parameter name omitted
fnt.c:205: `xoc' undeclared (first use in this function)
fnt.c:203: warning: unused parameter `env'
fnt.c:203: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetDescent':
fnt.c:208: parameter name omitted
fnt.c:210: `xoc' undeclared (first use in this function)
fnt.c:208: warning: unused parameter `env'
fnt.c:208: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetFixedWidth':
fnt.c:214: parameter name omitted
fnt.c:216: `xoc' undeclared (first use in this function)
fnt.c:214: warning: unused parameter `env'
fnt.c:214: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetHeight':
fnt.c:221: parameter name omitted
fnt.c:223: `xoc' undeclared (first use in this function)
fnt.c:221: warning: unused parameter `env'
fnt.c:221: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetLeading':
fnt.c:226: parameter name omitted
fnt.c:226: warning: unused parameter `env'
fnt.c:226: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetMaxAdvance':
fnt.c:231: parameter name omitted
fnt.c:233: `xoc' undeclared (first use in this function)
fnt.c:231: warning: unused parameter `env'
fnt.c:231: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetMaxAscent':
fnt.c:236: parameter name omitted
fnt.c:238: `xoc' undeclared (first use in this function)
fnt.c:236: warning: unused parameter `env'
fnt.c:236: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetMaxDescent':
fnt.c:242: parameter name omitted
fnt.c:244: `xoc' undeclared (first use in this function)
fnt.c:242: warning: unused parameter `env'
fnt.c:242: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntIsWideFont':
fnt.c:248: parameter name omitted
fnt.c:248: warning: unused parameter `env'
fnt.c:248: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntGetWidths':
fnt.c:311: parameter name omitted
fnt.c:334: `xoc' undeclared (first use in this function)
fnt.c:311: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntBytesWidth':
fnt.c:359: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntCharWidth':
fnt.c:400: warning: unused parameter `env'
fnt.c:400: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntCharsWidth':
fnt.c:426: warning: unused parameter `clazz'
fnt.c: In function `Java_java_awt_Toolkit_fntStringWidth':
fnt.c:479: warning: unused parameter `clazz'
make[3]: *** [fnt.lo] Error 1