I\'m writing with visual c++ and when I compile this error occures:
C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\Microsoft.Cpp.Wi
I got the same error when I forgot the return statement in the following method:
char SpiRAM::write_byte(int address, char data_byte) { assert(address >= 0); assert(address < SRAM_SIZE); _sram[address] = data_byte; return data_byte; }