[Bug libfortran/47970] New: c99_functions.c:611:5: warning: implicit declaration of function 'round'

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 3 14:23:00 GMT 2011


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

           Summary: c99_functions.c:611:5: warning: implicit declaration
                    of function 'round'
           Product: gcc
           Version: unknown
            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 c99_functions.lo -MD -MP -MF
.de
ps/c99_functions.Tpo -c ../../../../gcc/libgfortran/intrinsics/c99_functions.c
-fPIC -DPIC -o .libs/c99_functions.o
../../../../gcc/libgfortran/intrinsics/c99_functions.c: In function 'roundl':
../../../../gcc/libgfortran/intrinsics/c99_functions.c:611:5: warning: implicit
declaration of function 'round' [-Wimplicit-function-declaration]
../../../../gcc/libgfortran/intrinsics/c99_functions.c:611:12: warning:
incompat
ible implicit declaration of built-in function 'round' [enabled by default]

Target does not have `round' and round implementation follows use.



More information about the Gcc-bugs mailing list