Forum > LCL
[SOLVED] Cannot find Win32Int used by Interfaces, incompatible ppu
VitalArt:
Oof, this one burns. I thought the problem was stupid, but not that stupid.
Turns out, I really had a unit called Character which was not even doing anything and which I've completely forgot about. My excuse is that I started this project 2 years ago and haven't come back to it in a year. The unit was just sitting in a uses clause in a part of code I haven't revisited since the beginning and just doing nothing.
Anyway, now everything works fine and I don't even need to keep LCL in dependencies.
One last question: so there can never be two units with the same name in a project or is there some way to manage this?
Thanks for your input.
Bart:
Namespaces?
engkin:
--- Quote from: VitalArt on February 07, 2018, 05:34:17 pm ---so there can never be two units with the same name in a project or is there some way to manage this?
--- End quote ---
No. Do not use the same name. There is a way to prevent name conflict with the RTL if you compile the RTL with -Ur, according to the docs:
--- Quote --- -Ur Generate release unit files (never automatically recompiled)
--- End quote ---
marcov:
Note that will still not allow the same units into the same project.
-Ur mainly protects against recompilation in the case of duplicate .inc files.
Navigation
[0] Message Index
[*] Previous page