reto271 / DataLoggerHeating_Luxtronik

Monitors Heating Data of a Luxtronik Heating Controller. Monitores, stores compact as binaries, converts to CSV and graphically displays.
GNU General Public License v3.0
1 stars 0 forks source link

Data type issue on target (Found on build server) #25

Closed reto271 closed 4 years ago

reto271 commented 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; ^~

reto271 commented 4 years ago

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.

reto271 commented 4 years ago

Linux PC: sizeof(std::time_t) : 8 Raspi: sizeof(std::time_t) : 4