Tool/software: Code Composer Studio
I just recently updated to 17.6.0.STS and installed TivaWare_C_Series-2.1.4.178. I am using 64 bit time_t by declaring _TIME64_IMPLEMENTATION=1, _TARGET_DEFAULTS_TO_TIME64=1, and __TI_TIME_USES_64=1.
Any time I try to include time.h and then access its members, I receive the following error:
Description Resource Path Location Type
#102 "tm" has already been declared in the current scope .ccsproject /myProject line 219, external location: C:\ti\ccsv6\tools\compiler\ti-cgt-arm_17.6.0.STS\include\time.h C/C++ Problem
#if defined(__cplusplus) && !defined(_CPP_STYLE_HEADER) using std::size_t; using std::clock_t; using std::clock; using std::tm; using std::TZ; using std::_tz; using std::__time32_t
Where the following is the offender.
using std::tm;
I am confused because I am not redefining this symbol in my program. Any ideas on where to start with the debugging process?