wiki:wade/gcc

Version 1 (modified by wade, 16 years ago) (diff)

--

Error

off64_t 無法宣告

Reference:http://gcc.gnu.org/ml/gcc-bugs/2006-11/msg00651.html sol:請加上

-Wall -D_LARGEFILE64_SOURCE 

例如:

gcc -D_LARGEFILE64_SOURCE -o test test.c