07-27-2010 04:33 AM
I am trying to build the old C source code ( writtten on CVI ver 6.0) on CVI ver 9.1.0.
And am getting Errors:
"TYPES.H"(104,31) Redeclaration of 'int32_t'.
"time.h"(94,35) syntax error; found '*' expecting ')'.
"time.h"(100,29) syntax error; found '*' expecting ')'.
Whats the version change Happened from CVI 6.0 to CVI 9.1.0 ?
Any suggestions to get rid of this Problem.
07-27-2010 11:25 AM
You should sprinkle some #error statements in time.h to find out why time_t is not being defined. It's supposed to be defined in time.h itself (line 68). Right now, my best guess is that somewhere in your project, _TIME_T_DEFINED is already defined and so the definition of time_t is being skipped. Can you confirm that?
Luis