foxadb / yahoo-finance

C++ library to get stock data from Yahoo Finance
MIT License
53 stars 21 forks source link

timegm() error while trying to compile in VSComunity 2019 #14

Open EstoTrader opened 2 years ago

EstoTrader commented 2 years ago

timegm() error while trying to compile in VSComunity 2019 Severity Code Description Project File Line Suppression State Error C3861 'timegm': identifier not found ConsoleApplication1 Error (active) E0020 identifier "timegm" is undefined ConsoleApplication1

adding the header #include not solve the problem

AyFK commented 2 weeks ago

Same problem here using windows 10, g++ 14.2.0, it says: "time_utils.cpp:25:12 error: 'timegm' was not declared in this scope; did you mean 'time'?"