public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW
@ 2012-01-19  8:55 burnus at gcc dot gnu.org
  2012-01-19  9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-19  8:55 UTC (permalink / raw)
  To: gcc-bugs

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)


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

end of thread, other threads:[~2012-01-20 11:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19  8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org
2012-01-19  9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org
2012-01-19 13:18 ` [Bug libfortran/51899] " rguenth at gcc dot gnu.org
2012-01-19 13:44 ` burnus at gcc dot gnu.org
2012-01-20 12:33 ` burnus at gcc dot gnu.org
2012-01-20 12:33 ` burnus 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).