With the 2005-10-07 patch from Janne, libgfortran uses SSIZE_MAX, a POSIX
macro. mingw doesn't have that macro, so we need to provided a fallback case. I
was wondering about something like

#ifndef SSIZE_MAX
#define SSIZE_MAX SHRT_MAX
#endif

or an explicit value. It's a bit ugly, but it works (and should work on other
problematic platforms). Or we could set it to a numeric value, just in case :)

Jane, what do you think would be the best solution?


-- 
           Summary: mingw doesn't have SSIZE_MAX
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
GCC target triplet: i686-pc-mingw32
OtherBugsDependingO 23261
             nThis:


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

Reply via email to