From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31165 invoked by alias); 7 Oct 2007 21:48:57 -0000 Received: (qmail 31088 invoked by uid 48); 7 Oct 2007 21:48:48 -0000 Date: Sun, 07 Oct 2007 21:48:00 -0000 Message-ID: <20071007214848.31087.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/22423] Warnings when building libgfortran In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobi at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00612.txt.bz2 ------- Comment #13 from tobi at gcc dot gnu dot org 2007-10-07 21:48 ------- The current set of warnings is: ../../../libgfortran/runtime/backtrace.c:66: warning: 'local_strcasestr' defined but not used ../../../libgfortran/runtime/environ.c:312: warning: 'init_choice' defined but not used ../../../libgfortran/runtime/environ.c:339: warning: 'show_choice' defined but not used ../../../libgfortran/runtime/main.c:179: warning: passing argument 1 of 'free' discards qualifiers from pointer target type ../../../libgfortran/io/list_read.c:1518: warning: argument 'type' might be clobbered by 'longjmp' or 'vfork' ../../../libgfortran/intrinsics/pack_generic.c:316: warning: passing argument 3 of 'pack_internal' from incompatible pointer type ../../../libgfortran/intrinsics/pack_generic.c:331: warning: passing argument 3 of 'pack_internal' from incompatible pointer type ../../../libgfortran/intrinsics/spread_generic.c:136: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ../../../libgfortran/intrinsics/spread_generic.c:147: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ../../../libgfortran/intrinsics/unpack_generic.c:201: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../libgfortran/intrinsics/unpack_generic.c:217: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../libgfortran/intrinsics/unpack_generic.c:233: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../libgfortran/intrinsics/unpack_generic.c:253: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../../libgfortran/runtime/backtrace.c:66: warning: 'local_strcasestr' defined but not used ../../../../libgfortran/runtime/environ.c:312: warning: 'init_choice' defined but not used ../../../../libgfortran/runtime/environ.c:339: warning: 'show_choice' defined but not used ../../../../libgfortran/runtime/main.c:179: warning: passing argument 1 of 'free' discards qualifiers from pointer target type ../../../../libgfortran/io/list_read.c:1518: warning: argument 'type' might be clobbered by 'longjmp' or 'vfork' ../../../../libgfortran/intrinsics/pack_generic.c:316: warning: passing argument 3 of 'pack_internal' from incompatible pointer type ../../../../libgfortran/intrinsics/pack_generic.c:331: warning: passing argument 3 of 'pack_internal' from incompatible pointer type ../../../../libgfortran/intrinsics/signal.c:201: warning: cast to pointer from integer of different size ../../../../libgfortran/intrinsics/signal.c:208: warning: cast to pointer from integer of different size ../../../../libgfortran/intrinsics/signal.c:229: warning: cast to pointer from integer of different size ../../../../libgfortran/intrinsics/signal.c:236: warning: cast to pointer from integer of different size ../../../../libgfortran/intrinsics/spread_generic.c:136: warning: format '%d' expects type 'int', but argument 2 has type 'index_type' ../../../../libgfortran/intrinsics/spread_generic.c:147: warning: format '%d' expects type 'int', but argument 2 has type 'index_type' ../../../../libgfortran/intrinsics/unpack_generic.c:201: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../../libgfortran/intrinsics/unpack_generic.c:217: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../../libgfortran/intrinsics/unpack_generic.c:233: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type ../../../../libgfortran/intrinsics/unpack_generic.c:253: warning: passing argument 3 of 'unpack_internal' from incompatible pointer type -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423