This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW


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

             Bug #: 51899
           Summary: [4.7 Regression] libgfortran's chmod.c fails to build
                    on MinGW
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


libgfortran fails to build on MinGW with the following error. It's a regression
caused by the fix for PR 36755 / Rev. 183137.

 .deps/chmod.Tpo -c ../../../gcc-trunk/libgfortran/intrinsics/chmod.c
-DDLL_EXPORT -DPIC -o .libs/chmod.o
../../../gcc-trunk/libgfortran/intrinsics/chmod.c: In function 'chmod_func':
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:92:7: warning: format '%o'
expects argument of type 'unsigned int *',
but argument 3 has type 'mode_t *' [-Wformat]
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:106:3: warning: implicit
declaration of function 'umask' [-Wimplicit-f
unction-declaration]
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:294:18: error: 'S_IRGRP'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:294:18: note: each undeclared
identifier is reported only once for eac
h function it appears in
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:296:18: error: 'S_IROTH'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:305:18: error: 'S_IWGRP'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:307:18: error: 'S_IWOTH'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:316:18: error: 'S_IXGRP'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:318:18: error: 'S_IXOTH'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:330:18: error: 'S_ISUID'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:332:18: error: 'S_ISGID'
undeclared (first use in this function)
../../../gcc-trunk/libgfortran/intrinsics/chmod.c:420:17: error: 'S_ISVTX'
undeclared (first use in this function)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]