Closed reto271 closed 4 years ago
http://192.168.1.201:8080/job/DataLoggerHeating_Luxtronik/24/gcc/source.0f5176bd-048d-43df-aa8b-cdff1998c110/#65
left shift count >= width of type [-Wshift-count-overflow] time += static_cast(std::get(dataVector[arrayPos].uiVal)) << 32; ^~
Is only an issue on the target, where std::time_t is 32 bit. On the 64bit system (laptop) it is no issue because std::time_t is 64bit.
Linux PC: sizeof(std::time_t) : 8 Raspi: sizeof(std::time_t) : 4
http://192.168.1.201:8080/job/DataLoggerHeating_Luxtronik/24/gcc/source.0f5176bd-048d-43df-aa8b-cdff1998c110/#65
left shift count >= width of type [-Wshift-count-overflow] time += static_cast(std::get(dataVector[arrayPos].uiVal)) << 32; ^~