I have a problem compiling with TwineCompile 5.1 under Rad Studio 10.3.3 using the clang compiler. I am able to reproduce the problem in a demo project.
Lets say i have a unit with one declaration in the header file:
I do not include the String
header file in that unit because i included it in the precompiled header. If i try to compile it gives me an error saying "Unknown type name 'String'"
. It should find the declaration in the precompiled header. If i try to build it again without doing any changes it compiles fine. But if i Clean the project and try to compile it again the same error appears.
The error is happening only when using twine compile.