-
Making all in src CC modbus.lo CC modbus-data.lo modbus-data.c:51:5: attention : #warning "Fallback on C functions for bswap_16" [-Wcpp] # warning "Fallback on C functions for bswap_16" ^ modbus-data.c:52:24: erreur: redefinition of ‘bswap_16’ static inline uint16_t bswap_16(uint16_t x) -
https://github.com/stephane/libmodbus/issues/248
-
Thanks to paperwork
-
Thanks to Rüdiger Ranft for the idea.
-
Thanks to Karl Palsson.
-
Inspired by https://github.com/remakeelectric/libmodbus/commit/56b2526f5140a7e7efd0a59d5f2e5fb200f5a632
-
Related to 52ab1bbea760ed8eaca184f7d875a2f52a116d0f. The arguments have been changed (see documentation). https://groups.google.com/d/msg/libmodbus/aXO8nBzW4Ew/uVGTDmvvBAAJ
-
Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
-
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
-
msinttypes moved to GitHub, so change URL accordingly.