yes if i remove --debug option error goes away. br Harry
sdcc: Calling assembler... sdcc: sdasstm8.exe -plosgffwy ""./build\main".asm" ./build\main.asm:638: Error: <r> relocation error make: *** [makefile:49: compile] Error 1 The terminal process terminated with exit code: 2</r> sorry but i cant find SDCC 3.9.1 #11249 in nightly build. I use latest version from 29.05.2019 http://sourceforge.net/projects/sdcc/files/snapshot_builds/x86_64-w64-mingw32/sdcc-snapshot-x86_64-w64-mingw32-20190529-11242.zip/download reported as: $ /opt/sdcc/bin/sdcc -v SDCC :...
pointer to struct problem
static local variables problem
Unimplemented addition operand
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk14/pdk15 3.8.7 #11124 (MINGW64) published under GNU General Public License (GPL) P.S. also tried the 3.8 release version for windows the problem is the same. the problem is in compensate_temperature and compensate_humidity functions. br harry
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk14/pdk15 3.8.7 #11124 (MINGW64) published under GNU General Public License (GPL) P.S. the problem is in compensate_temperature and compensate_humidity. br harry
isOperandLiteral (op) Contact Author with source code