I've followed the instructions on how to add this library to the Arduino IDE; and have selected a Sketch from the examples providers, however all examples result in the following :--
In file included from sha256test.pde:1:0:
C:\Users...\Documents\Arduino\libraries\Sha/sha256.h:26:18: error: conflicting return type specified for 'virtual void Sha256Class::write(uint8_t)'
virtual void write(uint8_t);
^
In file included from C:\Users...\Documents\Arduino\libraries\Sha/sha256.h:5:0,
from sha256test.pde:1:
C:\Users...\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-1160-gef26c5f\cores\esp8266/Print.h:55:24: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
Error compiling.
I've followed the instructions on how to add this library to the Arduino IDE; and have selected a Sketch from the examples providers, however all examples result in the following :--
In file included from sha256test.pde:1:0:
C:\Users...\Documents\Arduino\libraries\Sha/sha256.h:26:18: error: conflicting return type specified for 'virtual void Sha256Class::write(uint8_t)'
virtual void write(uint8_t);
^
In file included from C:\Users...\Documents\Arduino\libraries\Sha/sha256.h:5:0,
from sha256test.pde:1:
C:\Users...\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-1160-gef26c5f\cores\esp8266/Print.h:55:24: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
Error compiling.