This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++/347: [v2] libio cannot deal with _G_fpos_t != _G_off_t



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]