This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24383] New: mingw doesn't have SSIZE_MAX
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2005 13:44:00 -0000
- Subject: [Bug libfortran/24383] New: mingw doesn't have SSIZE_MAX
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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