Page 1 of 2

error or bug

Posted: Fri Jun 20, 2025 6:44 pm
by ELECTRONICA67
Hello,

I'm compiling another flowchart and it showed four messages that hadn't been presented.


C:\ProgramData\MatrixTSL\FlowcodeV10\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\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 105: non-reentrant function "_delay_ms" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 128: non-reentrant function "_Wdt_Delay_S" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 141: non-reentrant function "_Wdt_Delay_Ms" appears in multiple call graphs and has been duplicated by the compiler


Compilation successful!

Using <PICKIT3> user settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe


FINISHED


Enrique

Re: error or bug

Posted: Fri Jun 20, 2025 7:28 pm
by mnfisher
This happens if the function cannot be interrupted and then restarted.
Common issues are use of global variables, hardware registers or (less likely here) static local variables.
Calling routines that require some saved state from ISRs etc will cause issues and is not a good idea.
Can you post a snippet of code that demonstrate?

Martin

Re: error or bug

Posted: Fri Jun 20, 2025 7:34 pm
by ELECTRONICA67
Hello Martin,

In fact, I just compiled a finished flowchart that didn't show that message. I compiled it and it also showed that message, which wasn't present in compilations prior to 2 or 3 days ago.

Re: error or bug

Posted: Fri Jun 20, 2025 7:49 pm
by ELECTRONICA67
This is a published example that outputs 1 message.

Re: error or bug

Posted: Fri Jun 20, 2025 10:28 pm
by mnfisher
That compiles okay for me - ran update first.

Anything changed on your machine (updated compiler / different target)

Martin

Re: error or bug

Posted: Fri Jun 20, 2025 10:44 pm
by ELECTRONICA67
Yes... it was updated yesterday, I had also reported something similar but with the string function, which was corrected with that update, but now apparently these new messages have appeared, which were not present a few days ago, they appeared after yesterday's update.

Re: error or bug

Posted: Fri Jun 20, 2025 11:19 pm
by ELECTRONICA67
I just updated with patch 10.1.2.40 but 3 messages continue to appear. A few days ago none of these messages appeared in that same flowchart.

Re: error or bug

Posted: Fri Jun 20, 2025 11:26 pm
by ELECTRONICA67
I'm to update Flowcode... the same thing has happened to me the last 2 or 3 times I've updated. :?

Re: error or bug

Posted: Fri Jun 20, 2025 11:30 pm
by ELECTRONICA67
I don't know if these messages affect the correct functioning of the program in any way. :?:

Re: error or bug

Posted: Sat Jun 21, 2025 3:16 am
by ELECTRONICA67
On another computer where I haven't downloaded the last 2 patches, I don't get those messages.