* Galos, David <galos...@students.rowan.edu> [2013-06-14 22:39:12 -0500]: > > Or are you limiting this to pure ansi instead of posix? > I'm just trying to conform with the rest of sbase. The CFLAGS include > `-ansi -pedantic -Wall` and I don't want my code to compile with > warnings. >
you can get rid of the warning in strict ansi mode by #ifdef __GNUC__ __extension__ #endif typedef long long foo; > > How exactly do you think you are going to be able to work with / create > > files larger than whatever off_t type is provided by the environment > > supports? > > I actually didn't think of `off_t`. I just knew that `long` wouldn't > cut it, and that note that you need -D_FILE_OFFSET_BITS=64 to get 64 bit off_t on glibc on 32 bit archs (some distros add this by default, but you cannot count on that)