public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/63471] New: [5.0 Regression] unix.c:1906:10: error: implicit declaration of function 'ttyname_r'
@ 2014-10-07 16:41 danglin at gcc dot gnu.org
  2014-10-08 11:13 ` [Bug libfortran/63471] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-10-07 16:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63471

            Bug ID: 63471
           Summary: [5.0 Regression] unix.c:1906:10: error: implicit
                    declaration of function 'ttyname_r'
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

libtool: compile:  /test/gnu/gcc/objdir/./gcc/xgcc
-B/test/gnu/gcc/objdir/./gcc/
 -B/opt/gnu64/gcc/gcc-5.0/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-5.0/hppa
64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-5.0/hppa64-hp-hpux11.11/include
 -isystem /opt/gnu64/gcc/gcc-5.0/hppa64-hp-hpux11.11/sys-include
-DHAVE_CONFIG_H
 -I. -I../../../gcc/libgfortran -iquote../../../gcc/libgfortran/io
-I../../../gc
c/libgfortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../../../gcc/lib
gfortran/../libquadmath -I../.././gcc -I../../../gcc/libgfortran/../libgcc
-I../libgcc -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -fcx-fortran-rules -ffunction-sections
-fdata-sections -g -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c
../../../gcc/libgfortran/io/unix.c  -DPIC -o .libs/unix.o
../../../gcc/libgfortran/io/unix.c: In function 'stream_ttyname':
../../../gcc/libgfortran/io/unix.c:1906:10: error: implicit declaration of
function 'ttyname_r' [-Werror=implicit-function-declaration]
   return ttyname_r (((unix_stream *) s)->fd, buf, buflen);
          ^
cc1: some warnings being treated as errors
make[3]: *** [unix.lo] Error 1

Probably _REENTRANT is not defined.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-10-13 17:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-07 16:41 [Bug libfortran/63471] New: [5.0 Regression] unix.c:1906:10: error: implicit declaration of function 'ttyname_r' danglin at gcc dot gnu.org
2014-10-08 11:13 ` [Bug libfortran/63471] " rguenth at gcc dot gnu.org
2014-10-08 13:31 ` jb at gcc dot gnu.org
2014-10-08 13:43 ` jb at gcc dot gnu.org
2014-10-08 15:37 ` dave.anglin at bell dot net
2014-10-09  2:07 ` dave.anglin at bell dot net
2014-10-09  3:07 ` jb at gcc dot gnu.org
2014-10-10  7:43 ` jb at gcc dot gnu.org
2014-10-10 13:31 ` dave.anglin at bell dot net
2014-10-10 20:16 ` fxcoudert at gcc dot gnu.org
2014-10-13 17:15 ` danglin 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).