This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


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

forward from Andreas Jaeger


>>>>> Joe Fago writes:

 > Hi,
 > gcc 2.95.2 libio seems to have a problem with _G_fpos64_t
being a struct. It
ends up using it as a typedef for streampos, which in turn gets
passed to
functions (err...methods) which expect a long long int. In glibc
2.1.3,
_G_fpos64_t was an __off64_t, and gcc was fine.

 > I can think of several ways to fix this. But the first
question that comes to mind is:

Read the glibc FAQ, the problem is mentioned there - and this is
also mentioned in the GCC FAQ at http://gcc.gnu.org.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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