I had a problem with a > 2G textfile to be parsed by flex. Putting
%top{
#define _FILE_OFFSET_BITS 64
}
in the definitions part of the flex input file worked great!
%top{
#define _FILE_OFFSET_BITS 64
}
in the definitions part of the flex input file worked great!