CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Ambiguous use of name - CO136
https://forum.codesys.com/viewtopic.php?f=11&t=8843
Page 1 of 1

Author:  tbambrough [ Wed May 16, 2018 6:57 pm ]
Post subject:  Ambiguous use of name - CO136

When I added dynamic memory allocation to my project (CodeSys 3.5.12.10), I receive the following two errors that I cannot find how to resolve.

------ Build started: Application: Device.Application -------
typify code ...
[ERROR] Dillution Station: C0136: ambiguous use of name 'LinearMemoryManager'
[ERROR] Dillution Station: C0138: No matching FB_init method found for instantiation of LinearMemoryManager
Compile complete -- 2 errors, 24 warnings

Any ideas?

Author:  tbambrough [ Fri May 18, 2018 2:58 pm ]
Post subject:  Re: Ambiguous use of name - CO136

The issue is related to the inclusion of the VisuElemBase library.

The issue can be reproduced by:
1) Create standard application
2) Enable Dynamic memory
3) Add VisuElemBase library

Compile the application

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/