I'm porting my c++ program over to MSVC 2008 EE from the 2005 EE edition, but I'm having trouble. During the build process I keep getting error messages such as these:
Code:
error C2061: syntax error : identifier 'clock_t'
error C3861: 'time': identifier not found
...
...
error C3861: 'clock': identifier not found
error C2065: 'c' : undeclared identifier
My code does indeed include
time.h. I don't get any message saying that the program is unable to locate
time.h, so it must be reading the file, right? Just to be sure, I've checked the VC Build/Include directory settings and everything appears to be properly configured. I've tried including
ctime instead of
time.h but I only get similar errors from the
ctime file. Can anyone point out what I might be doing wrong?
Thanks.