public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/24383]  New: mingw doesn't have SSIZE_MAX
@ 2005-10-15 13:44 fxcoudert at gcc dot gnu dot org
  2005-10-15 13:54 ` [Bug libfortran/24383] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-10-15 13:44 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2005-10-23 23:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-15 13:44 [Bug libfortran/24383] New: mingw doesn't have SSIZE_MAX fxcoudert at gcc dot gnu dot org
2005-10-15 13:54 ` [Bug libfortran/24383] " pinskia at gcc dot gnu dot org
2005-10-15 15:17 ` fxcoudert at gcc dot gnu dot org
2005-10-15 20:43 ` jblomqvi at cc dot hut dot fi
2005-10-20  8:53 ` fxcoudert at gmail dot com
2005-10-21 19:40 ` cvs-commit at gcc dot gnu dot org
2005-10-21 19:49 ` fxcoudert at gmail dot com
2005-10-23 23:03 ` pinskia at gcc dot gnu dot 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).