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
error or bug
-
- Posts: 143
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
-
- Valued Contributor
- Posts: 1548
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 138 times
- Been thanked: 737 times
Re: error or bug
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
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
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
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.
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.
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
This is a published example that outputs 1 message.
- Attachments
-
- IOC_Pulse_Counter.fcfx
- (21.33 KiB) Downloaded 9 times
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
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.
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
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.
- Attachments
-
- 2.jpeg (167.34 KiB) Viewed 1165 times
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
I'm to update Flowcode... the same thing has happened to me the last 2 or 3 times I've updated. 

Last edited by ELECTRONICA67 on Sat Jun 21, 2025 3:13 am, edited 1 time in total.
-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
I don't know if these messages affect the correct functioning of the program in any way. 

-
- Posts: 143
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: error or bug
On another computer where I haven't downloaded the last 2 patches, I don't get those messages.