This is the mail archive of the glibc-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug stdio/13960] #defining _LARGEFILE_SOURCE does not give me ftello


http://sourceware.org/bugzilla/show_bug.cgi?id=13960

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |UNCONFIRMED
                 CC|                            |aj at suse dot de
     Ever Confirmed|1                           |0

--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-04-08 09:47:22 UTC ---
You get ftello - just run it through gcc -E -ansi.

What you don't get is off_t - you have __off_t only.

And the feature test macro for off_t has a check for 
__USE_XOPEN2K8.

So, add a define of _XOPEN_SOURCE to 700 as well.

I'm not sure whether this is really a bug in glibc or in your usage of the
flags.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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