c - Scan hexadecimal floating points in Windows with Linux code -


i trying compile wapiti 1.3.0 (a nlp tagging tool) in windows 8 based machine. c source code intended linux (and similar) systems. have managed compile using cygwin gcc. unfortunately it's not working needs read data model file (text file training information saved).

it seems variable v not being read, in code line:

double v;      if (fscanf(file, "%"scnu64"=%la\n", &f, &v) != 2) 

i guess because cygwin dll's not being c99 , not being able use hex floating points.

i don't think can compile mingw requires posix system headers, plus not sure if mingw handles c99 fscanf formatting anyway.

is there suggestion of can do, or missing something?

thanks help!

the program compiling/working in linux no problems.


Comments