Compiler warnings on jexec.c (Unix only?):
Linux:
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -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/sun/java.jexec/jexec/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO/jexec.o ../../../src/solaris/bin/jexec.c
../../../src/solaris/bin/jexec.c: In function 'main':
../../../src/solaris/bin/jexec.c:224: warning: control reaches end of non-void function
Solaris:
/localtools/i586/SUNWspro/SS12u1/bin/cc -g -xO2 -L/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO -xc99=%none -xCC -errshort=tags -Xa -v -mt -W0,-noglobal -m32 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DDEBUG -DLOGGING -DDBINFO -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -c -o /BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO/jexec.o ../../../src/solaris/bin/jexec.c
"../../../src/solaris/bin/jexec.c", line 224: warning: Function has no return statement : main
Linux:
/usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -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/sun/java.jexec/jexec/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO/jexec.o ../../../src/solaris/bin/jexec.c
../../../src/solaris/bin/jexec.c: In function 'main':
../../../src/solaris/bin/jexec.c:224: warning: control reaches end of non-void function
Solaris:
/localtools/i586/SUNWspro/SS12u1/bin/cc -g -xO2 -L/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO -xc99=%none -xCC -errshort=tags -Xa -v -mt -W0,-noglobal -m32 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DDEBUG -DLOGGING -DDBINFO -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -c -o /BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/sun/java.jexec/jexec/obj_gO/jexec.o ../../../src/solaris/bin/jexec.c
"../../../src/solaris/bin/jexec.c", line 224: warning: Function has no return statement : main
- duplicates
-
JDK-6989469 (launcher) compiler warnings in jli native code
- Closed