View previous topic :: View next topic |
Author |
Message |
Lars Jägdahl
Joined: 24 Sep 2010 Posts: 2
|
PCD: Multiple Compilation Units |
Posted: Fri Sep 24, 2010 7:39 am |
|
|
Is there any limit in number of units.
I have a project with 13 units and it's working fine. When I add a 14th unit I got compiler error 112, "Function used but not defined:"
If I remove a previous used unit (so it only will bee 13 units again) and comment all functions to the removed unit, it works to compile and link the project.
Anyone has any ideas? |
|
 |
Lars Jägdahl
Joined: 24 Sep 2010 Posts: 2
|
|
Posted: Fri Sep 24, 2010 7:46 am |
|
|
I forgot to tell I have PCD compiler version 4.112. |
|
 |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Fri Sep 24, 2010 4:46 pm |
|
|
I seems to me, that the multiple compilation units feature is a CCS C addon to give the look and feel of regular compiler and linker operation rather than a way to improve the actual compiler performance. Because it hasn't been working correctly with previous PCD versions, I wasn't motivated to try it again.
But what you report sounds clearly like a bug. |
|
 |
|