public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/47973] New: error.c:158:7: warning: return makes pointer from integer without a cast
@ 2011-03-03 14:43 danglin at gcc dot gnu.org
2011-03-03 16:00 ` [Bug libfortran/47973] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-03-03 14:43 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libfortran/47973] error.c:158:7: warning: return makes pointer from integer without a cast
2011-03-03 14:43 [Bug libfortran/47973] New: error.c:158:7: warning: return makes pointer from integer without a cast danglin at gcc dot gnu.org
@ 2011-03-03 16:00 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-03 16:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47973
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-03 15:59:49 UTC ---
.
*** This bug has been marked as a duplicate of bug 47972 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-03 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-03 14:43 [Bug libfortran/47973] New: error.c:158:7: warning: return makes pointer from integer without a cast danglin at gcc dot gnu.org
2011-03-03 16:00 ` [Bug libfortran/47973] " rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).