JDK-6989117 : fdlibm compiler warning messages
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-02
  • Updated: 2024-04-12
  • Resolved: 2023-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_lgamma.o  ../../../src/share/native/java/lang/fdlibm/src/e_lgamma.c
../../../src/share/native/java/lang/fdlibm/src/e_jn.c: In function '__j__ieee754_yn':
../../../src/share/native/java/lang/fdlibm/src/e_jn.c:278: warning: comparison between signed and unsigned

/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_pow.o  ../../../src/share/native/java/lang/fdlibm/src/e_pow.c
../../../src/share/native/java/lang/fdlibm/src/e_pow.c: In function '__j__ieee754_pow':
../../../src/share/native/java/lang/fdlibm/src/e_pow.c:149: warning: comparison between signed and unsigned

/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_sqrt.o  ../../../src/share/native/java/lang/fdlibm/src/e_sqrt.c
../../../src/share/native/java/lang/fdlibm/src/e_sqrt.c: In function '__j__ieee754_sqrt':
../../../src/share/native/java/lang/fdlibm/src/e_sqrt.c:174: warning: comparison between signed and unsigned

/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_ceil.o  ../../../src/share/native/java/lang/fdlibm/src/s_ceil.c
../../../src/share/native/java/lang/fdlibm/src/s_ceil.c: In function 'jceil':
../../../src/share/native/java/lang/fdlibm/src/s_ceil.c:81: warning: comparison between signed and unsigned

/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_frexp.o  ../../../src/share/native/java/lang/fdlibm/src/s_frexp.c
../../../src/share/native/java/lang/fdlibm/src/s_floor.c: In function 'jfloor':
../../../src/share/native/java/lang/fdlibm/src/s_floor.c:82: warning: comparison between signed and unsigned

/usr/bin/gcc  -g    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN  -DDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_logb.o  ../../../src/share/native/java/lang/fdlibm/src/s_logb.c
../../../src/share/native/java/lang/fdlibm/src/s_log1p.c: In function 'jlog1p':
../../../src/share/native/java/lang/fdlibm/src/s_log1p.c:132: warning: comparison between signed and unsigned


Windows:

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atan2.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atan2.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atan2.obj  ../../../src/share/native/java/lang/fdlibm/src/e_atan2.c
e_atan2.c
../../../src/share/native/java/lang/fdlibm/src/e_atan2.c(83) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
../../../src/share/native/java/lang/fdlibm/src/e_atan2.c(84) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atanh.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atanh.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_atanh.obj  ../../../src/share/native/java/lang/fdlibm/src/e_atanh.c
e_atanh.c
../../../src/share/native/java/lang/fdlibm/src/e_atanh.c(68) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

../../../src/share/native/java/lang/fdlibm/src/e_exp.c(146) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_fmod.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_fmod.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/e_fmod.obj  ../../../src/share/native/java/lang/fdlibm/src/e_fmod.c
e_fmod.c
../../../src/share/native/java/lang/fdlibm/src/e_fmod.c(61) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_ceil.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_ceil.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_ceil.obj  ../../../src/share/native/java/lang/fdlibm/src/s_ceil.c
s_ceil.c
../../../src/share/native/java/lang/fdlibm/src/s_ceil.c(81) : warning C4018: '<' : signed/unsigned mismatch

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_expm1.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_expm1.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_expm1.obj  ../../../src/share/native/java/lang/fdlibm/src/s_expm1.c
s_expm1.c
../../../src/share/native/java/lang/fdlibm/src/s_expm1.c(183) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data

C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl  -Od    -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_floor.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_floor.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE  -DDEBUG -DLOGGING -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86  -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/java/lang/fdlibm/include    -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/fdlibm/obj_gO/s_floor.obj  ../../../src/share/native/java/lang/fdlibm/src/s_floor.c
s_floor.c
../../../src/share/native/java/lang/fdlibm/src/s_floor.c(82) : warning C4018: '<' : signed/unsigned mismatch

Comments
FDLIBM was fully ported to Java (JDK-8171407) and the original C sources removed (JDK-8302801).
07-03-2023