TooTallNate/node-time

Build error: error C2065: 'tzname': undeclared identifier

Closed this issue · 1 comments

..\src\time.cc(46): error C2065: 'tzname': undeclared identifier [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
..\src\time.cc(46): error C2228: left of '.ToLocalChecked' must have class/struct/union [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
..\src\time.cc(46): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
I'm fully awared that windows is not supported. I had installed the time module successfully on linux. Will those errors be fixed???
..\src\time.cc(52): error C2065: 'timezone': undeclared identifier [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
..\src\time.cc(52): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
..\src\time.cc(56): error C2065: 'daylight': undeclared identifier [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]
..\src\time.cc(56): error C2661: 'Nan::Set': no overloaded function takes 2 arguments [E:\code\github\Countly\countly\node_modules\time\build\time.vcxproj]

I solved this problem by made those changes:
jianglinchun@aca7dc5
I had tested under window10 and node v4.2.2.