compilation error at debug.print
Posted: 09 May 2013, 0:28 AM
The following line produces an error in 4.1.7:
Debug.Print CStr(CInt(VRL)); " "; CStr(CInt(VRR))
There is no error if I remove " "; from the output or replace it with something else, like "-";
Debug.Print CStr(CInt(VRL)); " "; CStr(CInt(VRR))
There is no error if I remove " "; from the output or replace it with something else, like "-";
Code: Select all
avr-gcc -o scooter.i1 -mmcu=atmega1280 -Wl,--gc-sections,--relax -Wl,-T,"C:/PROGRA~2/ZBasic/zlib/avr/ldscripts/zbasic_avr51.lds" -Wl,--defsym,zbSendByte=zbSendByteHW -Wl,--defsym,zbBaudDivisor=zbBaudDivSimple -Wl,--defsym,zbUartData=zbUartData4 --param inline-call-cost=2 "C:/PROGRA~2/ZBasic/zlib/avr/arch/zbasic_avr51.o" "C:/PROGRA~2/ZBasic/zlib/avr/ST/libST_mega1280.a" scooter.o config.o util.o comlib.o motorlib.o servolib.o RoboteqMDC2250C.o devices.o cinput.o curves.o geometry.o motors.o "C:/PROGRA~2/ZBasic/zlib/avr/lib/libmega1280.a" "C:/PROGRA~2/ZBasic/zlib/avr/ST/libST_mega1280.a" -lm
c:/progra~2/zbasic/winavr/bin/../lib/gcc/avr/4.3.3/../../../../avr/lib/avr51/crtm1280.o: In function `__vector_default':
(.vectors+0xdc): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_55' defined in .text section in C:/PROGRA~2/ZBasic/zlib/avr/lib/libmega1280.a(com8_ISR_avr.o)
make: *** [scooter.i1] Error 1