/home/elias/Arduino/libraries/Seeed_Arduino_CAN-master/src/mcp2518fd_can.cpp: In member function 'byte mcp2518fd::mcp2518fd_readMsgBufID(volatile byte, volatile byte)': /home/elias/Arduino/libraries/Seeed_Arduino_CAN-master/src/mcp2518fd_can.cpp:2069:60: warning: left shift count >= width of type [-Wshift-count-overflow] can_id = ext_flg? (rxObj.bF.id.EID | (rxObj.bF.id.SID << 18))
To Reproduce
Steps to reproduce the behavior:
Install Arduino 1.8.6 (x64)
Use "send" Sketch
Try to compiled
Expected behavior
Compiling runs ok without any warnings
Describe the bug Got this warning when compiling:
/home/elias/Arduino/libraries/Seeed_Arduino_CAN-master/src/mcp2518fd_can.cpp: In member function 'byte mcp2518fd::mcp2518fd_readMsgBufID(volatile byte, volatile byte)': /home/elias/Arduino/libraries/Seeed_Arduino_CAN-master/src/mcp2518fd_can.cpp:2069:60: warning: left shift count >= width of type [-Wshift-count-overflow] can_id = ext_flg? (rxObj.bF.id.EID | (rxObj.bF.id.SID << 18))
To Reproduce Steps to reproduce the behavior:
Expected behavior Compiling runs ok without any warnings