Hi, 2013/4/2 Glynn Clements <[email protected]>: > What should be fixed is this part in Grass.make: > > # crude hack for vector LFS, LFS_FLAGS should be set by configure > ifdef USE_LARGEFILES > LFS_CFLAGS = -D_FILE_OFFSET_BITS=64 > endif > > _FILE_OFFSET_BITS shouldn't be set on a system with a 64-bit "long". > > The main problem is that the LFS tests were taken wholesale from > cdrtools and no-one understands them.
thanks for clarification, what kind of fix do you suggest? > On the plus side, the warnings don't indicate a real problem. They > arise because C considers "long int" and "long long int" to be > distinct types even when they have the same size and representation. Just note that diglib is using PRI_OFF_T for off_t formatting, in vector lib is used mostly %ld. Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
