This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/347: [v2] libio cannot deal with _G_fpos_t != _G_off_t
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/347: [v2] libio cannot deal with _G_fpos_t != _G_off_t
- From: tv at pobox dot com
- Date: 24 Jun 2000 03:45:49 -0000
- Reply-To: tv at pobox dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, tv@pobox.com
>Number: 347
>Category: libstdc++
>Synopsis: [v2] libio cannot deal with _G_fpos_t != _G_off_t
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 23 20:46:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Todd Vierling
>Release: gcc-2.96-20000619
>Organization:
>Environment:
i386-mingw32msvc target, any host
>Description:
On a system where _G_fpos_t is not identical to _G_off_t (such as i386-mingw32msvc,
where _G_off_t is "long" and _G_fpos_t is "long long"), libio croaks when compiling genops.c,
as _IO_default_seekpos and _IO_default_seekoff have conflicting prototypes and
definitions.
>How-To-Repeat:
Tweak _G_config.h to define _G_fpos_t as something other than the typesize
of _G_off_t. Compile libio.
>Fix:
Not quite sure. It looks like the prototypes are the incorrect versions, at first glance.
>Release-Note:
>Audit-Trail:
>Unformatted: