Compiling issues
Posted: Fri Oct 16, 2020 4:41 pm
Hello All
I was out at the customer this week and installed flowcode onto the laptop with a program I did from the office desktop. I then got compiling errors, and to get rid of them I had to cut back the code by a very large proportion. So much so that I could only demponstrate the bare basic's of the program.
The compiling errors are below, can anyone let me know what wwnet wrong and how I can make sure this does not happen again in the future?
Thanks
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 85: non-reentrant function "_delay_us" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6518: non-reentrant function "_FC_CAL_ADC_Enable" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6717: non-reentrant function "_FC_CAL_ADC_Sample" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6740: non-reentrant function "_FC_CAL_ADC_Disable" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1106: non-reentrant function "_FCD_03d92_led_base__TurnOn" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1124: non-reentrant function "_FCD_03d92_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 4550: non-reentrant function "_FCD_08f41_adc_base__GetInt" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\flge.c: 4: non-reentrant function "___flge" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\lwdiv.c: 8: non-reentrant function "___lwdiv" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 3832: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
0: (1347) can't find 0x24 words (0x24 withtotal) for psect "text63" in class "CODE" (largest unused contiguous range 0xC)
updated 32-bit floating-point routines might trigger "can't find space" messages appearing after updating to this release; consider using the smaller 24-bit floating-point types
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text28" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text39" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text43" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text55" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text77" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text11" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text42" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text47" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text56" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1C words (0x1c withtotal) for psect "text35" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text45" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text50" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text44" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text49" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text82" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x14 words (0x14 withtotal) for psect "text9" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x10 words (0x10 withtotal) for psect "text12" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text7" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text10" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text25" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xA words (0xa withtotal) for psect "idataBANK1" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text16" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text65" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text66" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text67" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text68" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text78" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text79" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0x8 words (0x8 withtotal) for psect "text15" in class "CODE" (largest unused contiguous range 0x0)
0: too many errors (31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
I was out at the customer this week and installed flowcode onto the laptop with a program I did from the office desktop. I then got compiling errors, and to get rid of them I had to cut back the code by a very large proportion. So much so that I could only demponstrate the bare basic's of the program.
The compiling errors are below, can anyone let me know what wwnet wrong and how I can make sure this does not happen again in the future?
Thanks
using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 85: non-reentrant function "_delay_us" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6518: non-reentrant function "_FC_CAL_ADC_Enable" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6717: non-reentrant function "_FC_CAL_ADC_Sample" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6740: non-reentrant function "_FC_CAL_ADC_Disable" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1106: non-reentrant function "_FCD_03d92_led_base__TurnOn" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1124: non-reentrant function "_FCD_03d92_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 4550: non-reentrant function "_FCD_08f41_adc_base__GetInt" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\flge.c: 4: non-reentrant function "___flge" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\lwdiv.c: 8: non-reentrant function "___lwdiv" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 3832: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
0: (1347) can't find 0x24 words (0x24 withtotal) for psect "text63" in class "CODE" (largest unused contiguous range 0xC)
updated 32-bit floating-point routines might trigger "can't find space" messages appearing after updating to this release; consider using the smaller 24-bit floating-point types
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text28" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text39" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text43" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text55" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text77" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text11" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text42" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text47" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text56" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1C words (0x1c withtotal) for psect "text35" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text45" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text50" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text44" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text49" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text82" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x14 words (0x14 withtotal) for psect "text9" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x10 words (0x10 withtotal) for psect "text12" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text7" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text10" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text25" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xA words (0xa withtotal) for psect "idataBANK1" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text16" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text65" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text66" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text67" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text68" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text78" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text79" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0x8 words (0x8 withtotal) for psect "text15" in class "CODE" (largest unused contiguous range 0x0)
0: too many errors (31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]