From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13716 invoked by alias); 3 Mar 2011 14:43:19 -0000 Received: (qmail 13706 invoked by uid 22791); 3 Mar 2011 14:43:19 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_FC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 14:43:15 +0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/47973] New: error.c:158:7: warning: return makes pointer from integer without a cast X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 03 Mar 2011 14:43:00 -0000 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: 2011-03/txt/msg00299.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47973 Summary: error.c:158:7: warning: return makes pointer from integer without a cast Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: danglin@gcc.gnu.org Host: hppa1.1-hp-hpux10* Target: hppa1.1-hp-hpux10* Build: hppa1.1-hp-hpux10* libtool: compile: /xxx/gnu/gcc/objdir/./gcc/xgcc -B/xxx/gnu/gcc/objdir/./gcc/ - B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/bin/ -B/opt/gnu/gcc/gcc-4.6/hppa1.1-h p-hpux10.20/lib/ -isystem /opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/include -isy stem /opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/sys-include -DHAVE_CONFIG_H -I. - I../../../../gcc/libgfortran -iquote../../../../gcc/libgfortran/io -I../../../.. /gcc/libgfortran/../gcc -I../../../../gcc/libgfortran/../gcc/config -I../../../. ./gcc/libgfortran/../libquadmath -I../../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite -strings -fcx-fortran-rules -g -O2 -threads -MT error.lo -MD -MP -MF .deps/error .Tpo -c ../../../../gcc/libgfortran/runtime/error.c -fPIC -DPIC -o .libs/error. o ../../../../gcc/libgfortran/runtime/error.c: In function 'gf_strerror': ../../../../gcc/libgfortran/runtime/error.c:158:7: warning: return makes pointer from integer without a cast [enabled by default] Proto: int strerror_r(int errnum, char *buffer, int buflen); Declaration is in string.h.