bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/31276] New: format cast warning in function parseDoubleFr


From: didier at famille-link dot fr
Subject: [Bug classpath/31276] New: format cast warning in function parseDoubleFromChars
Date: 20 Mar 2007 08:17:12 -0000

Hello,

I try to compile gnu-classpath-0.93 on amd64 (Gentoo 2006.1) and this error
appear :

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include
-I../../../include -I../../../native/jni/classpath
-I../../../native/jni/native-lib -I../../../native/fdlibm -W -Wall
-Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long
-Wstrict-prototypes -pedantic -Werror -O2 -march=k8 -mtune=k8
-momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse3 -c java_lang_VMDouble.c 
-fPIC -DPIC -o .libs/java_lang_VMDouble.o
cc1: warnings being treated as errors
java_lang_VMDouble.c: In function 'parseDoubleFromChars':
java_lang_VMDouble.c:240: warning: format '%i' expects type 'int', but argument
3 has type 'char *'
java_lang_VMDouble.c:240: warning: format '%i' expects type 'int', but argument
4 has type 'const char *'
make[3]: *** [java_lang_VMDouble.lo] Error 1

I use gcc-4.1.2

Thanks to fix it in next version ;)


-- 
           Summary: format cast warning in function parseDoubleFromChars
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: didier at famille-link dot fr
  GCC host triplet: x86_64-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31276





reply via email to

[Prev in Thread] Current Thread [Next in Thread]