Compile problems - V6 Patch 6.0.4.0

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
stewartbaker
Posts: 116
Joined: Tue Jul 17, 2012 9:34 am
Been thanked: 18 times
Contact:

Compile problems - V6 Patch 6.0.4.0

Post by stewartbaker »

Hi,
I get the following error message when compiling.

Advanced Noise Canceller_v6_3.c(946:6): error: Function 'FCD_00c10_solenoid_base1__TurnOn' already has a body

Simulation works OK.

Cheers

Stewart
Attachments
Advanced Noise Canceller_v6_3.fcfx
(62.25 KiB) Downloaded 226 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compile problems - V6 Patch 6.0.4.0

Post by Benj »

Hi Stewart,

Thanks for letting us know, we have replicated the problem here and are looking into it now.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Compile problems - V6 Patch 6.0.4.0

Post by JonnyW »

Hi. Apologies for this - problem will only affect components embedded inside other components, but the next patch (we will get out asap) will fix this for you.

Jonny

stewartbaker
Posts: 116
Joined: Tue Jul 17, 2012 9:34 am
Been thanked: 18 times
Contact:

Re: Compile problems - V6 Patch 6.0.4.0

Post by stewartbaker »

Hi,
Thanks for your reply, and looking forward to the patch.

Aren't there rather a lot of components embedded inside other components ?

Does this issue affect them all ?

regards

Stewart

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Compile problems - V6 Patch 6.0.4.0

Post by JonnyW »

Hi Stewart. Good point - yes and no.

The issue is statically linked components. These are components that are essentially copied in their entirety into another component, so you do not need the original on your system. Usually all that is stored is a reference to the component and any altered properties.

If a component is statically linked and shares the same name with another component of the same type with the same name (in a different scope) then this issue will occur. Unfortunately the further into release things get, the more 'ifs' get added to the start of bug descriptions!

This has been fixed now and we can perhaps get something out by the end of next week.

Jonny

stewartbaker
Posts: 116
Joined: Tue Jul 17, 2012 9:34 am
Been thanked: 18 times
Contact:

Re: Compile problems - V6 Patch 6.0.4.0

Post by stewartbaker »

Hi Jonny,
Thanks for your prompt reply and explanation.

I can fully understand how, as more functionality is added to Flowcode these sort of issues become more difficult to anticipate.

Looking forward to the fix.

regards

Stewart

B.T.W is there someone at Matrix who is conversant with using Flowcode and Tina 9 together ?

Post Reply