JSC-electronics / Adeon

C++ library for processing commands from Adeon android mobile app.
Apache License 2.0
0 stars 0 forks source link

Compiler Warnings #3

Open enryH opened 4 years ago

enryH commented 4 years ago

Compile example from Arduino IDE in File -> Examples -> Adeon -> SIMComGsm.ino

C:\Arduino\libraries\Adeon\src\utility\MD5.cpp: In static member function 'static void MD5::MD5Update(void*, const void*, size_t)':

C:\Arduino\libraries\Adeon\src\utility\MD5.cpp:215:21: warning: right shift count >= width of type [-Wshift-count-overflow]

  ctx->hi += size >> 29;

                     ^~
vzahradnik commented 3 years ago

@enryH thanks for reporting. I will look into that.

vzahradnik commented 3 years ago

@enryH today I released a new version, and I don't see the error you mentioned. Perhaps I could verify that if you provide the name of the board you're using.

vzahradnik commented 3 years ago

Reproduced on Arduino Mega. See #13