public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/47802] New: libgfortran/intrinsics/ctime.c:75:3: error: too few arguments to function 'ctime_r'
@ 2011-02-18 16:53 danglin at gcc dot gnu.org
  2011-02-18 17:07 ` [Bug libfortran/47802] [4.6 Regression] " burnus at gcc dot gnu.org
                   ` (39 more replies)
  0 siblings, 40 replies; 41+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 16:53 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libgfortran/intrinsics/ctime.c:75:3: error: too few
                    arguments to function 'ctime_r'
           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.20
            Target: hppa1.1-hp-hpux10.20
             Build: hppa1.1-hp-hpux10.20


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 ctime.lo -MD -MP -MF
.deps/ctime
.Tpo -c ../../../../gcc/libgfortran/intrinsics/ctime.c  -fPIC -DPIC -o
.libs/cti
me.o
../../../../gcc/libgfortran/intrinsics/ctime.c: In function 'fdate':
../../../../gcc/libgfortran/intrinsics/ctime.c:75:3: error: too few arguments
to
 function 'ctime_r'
/usr/include/sys/time.h:157:13: note: declared here
...

It seems HP-UX 10.20 has a different declaration for ctime_r:

      int ctime_r(const time_t *timer, char *buffer, int buflen);


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

end of thread, other threads:[~2011-03-10 16:59 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 16:53 [Bug libfortran/47802] New: libgfortran/intrinsics/ctime.c:75:3: error: too few arguments to function 'ctime_r' danglin at gcc dot gnu.org
2011-02-18 17:07 ` [Bug libfortran/47802] [4.6 Regression] " burnus at gcc dot gnu.org
2011-02-18 19:55 ` law at redhat dot com
2011-02-18 20:16 ` law at redhat dot com
2011-02-18 21:13 ` dave at hiauly1 dot hia.nrc.ca
2011-02-19 17:30 ` jb at gcc dot gnu.org
2011-02-19 17:31 ` danglin at gcc dot gnu.org
2011-02-19 17:49 ` danglin at gcc dot gnu.org
2011-02-21 17:05 ` law at redhat dot com
2011-02-21 17:43 ` jakub at gcc dot gnu.org
2011-02-21 18:49 ` burnus at gcc dot gnu.org
2011-02-21 18:51 ` law at redhat dot com
2011-02-21 18:53 ` law at redhat dot com
2011-02-21 19:10 ` jakub at gcc dot gnu.org
2011-02-21 19:47 ` dave at hiauly1 dot hia.nrc.ca
2011-02-22  9:31 ` jb at gcc dot gnu.org
2011-02-22  9:36 ` jakub at gcc dot gnu.org
2011-02-22 16:41 ` jb at gcc dot gnu.org
2011-02-22 20:44 ` jb at gcc dot gnu.org
2011-02-23 14:30 ` dave at hiauly1 dot hia.nrc.ca
2011-02-23 14:35 ` dave at hiauly1 dot hia.nrc.ca
2011-02-23 18:32 ` burnus at gcc dot gnu.org
2011-02-23 20:55 ` dave at hiauly1 dot hia.nrc.ca
2011-02-24 12:52 ` jb at gcc dot gnu.org
2011-02-24 14:56 ` jb at gcc dot gnu.org
2011-02-24 15:05 ` dave at hiauly1 dot hia.nrc.ca
2011-02-24 21:54 ` jb at gcc dot gnu.org
2011-02-25 10:58 ` burnus at gcc dot gnu.org
2011-02-26 14:05 ` dave at hiauly1 dot hia.nrc.ca
2011-03-02 13:52 ` jakub at gcc dot gnu.org
2011-03-02 13:58 ` law at redhat dot com
2011-03-02 14:01 ` jakub at gcc dot gnu.org
2011-03-03 13:57 ` dave at hiauly1 dot hia.nrc.ca
2011-03-04 17:37 ` jb at gcc dot gnu.org
2011-03-04 17:53 ` jb at gcc dot gnu.org
2011-03-04 19:08 ` jb at gcc dot gnu.org
2011-03-04 19:15 ` jb at gcc dot gnu.org
2011-03-05 17:06 ` dave at hiauly1 dot hia.nrc.ca
2011-03-09  7:48 ` jb at gcc dot gnu.org
2011-03-09 13:42 ` burnus at gcc dot gnu.org
2011-03-10 16:59 ` dave at hiauly1 dot hia.nrc.ca

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).