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

           Summary: libquadmath: Build failure - strtod: static
                    declaration of 'strtod'  follows non-static
                    declaration
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bur...@gcc.gnu.org


Created attachment 22608
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22608
Draft patch

On MinGW there is the following compiler error; cf. attachment.


/mingw/i586-pc-mingw32/sys-include -DHAVE_CONFIG_H -I. 
-I../../../gcc-trunk/libquadmath -g -O2 -MT gdtoa/dmisc.lo -MD -MP -MF 
gdtoa/.deps/dmisc.Tpo -c ../../../gcc-trunk/libquadmath/gdtoa/dmisc.c -o 
gdtoa/dmisc.o
In file included from ../../../gcc-trunk/libquadmath/gdtoa/gdtoaimp.h:186:0,
                 from ../../../gcc-trunk/libquadmath/gdtoa/dmisc.c:32:
c:/MinGW/include/stdlib.h:319:1: error: static declaration of 'strtod' 
follows non-static declaration
../../../gcc-trunk/libquadmath/gdtoa/gdtoa.h:112:15: note: previous 
declaration of 'strtod' was here

Reply via email to