This can be closed.

I found that using

#define _FILE_OFFSET_BITS 64
#include <sys/types.h> /* off_t */

doesn't work as sys/types.h is imported by other standard headers
so _FILE_OFFSET_BITS has to be defined BEFORE all standard
headers rather than just before one's usage of sys/types.h.

Defining _FILE_OFFSET_BITS globally "fixes" the problem.

Robert Ramey

-- 
gcc 4.3.2 compiler included with kubuntu fails on simple structure
https://bugs.launchpad.net/bugs/629092
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to