A.M. Hoornweg 148 Posted Tuesday at 10:11 AM Hello all, I have ported a large project (32-bit, 1.4 million LOC) from Delphi 11 to Delphi 12 (enterprise). Performing a "full build" works fine, but a "make" produces linker error L902 every time; now just imagine you're debugging something and have to do a full build all the time. It's simply no fun. I have never had this problem in Delphi 11. Is there any way I can circumvent this problem ? Share this post Link to post
Roger Cigol 114 Posted Tuesday at 01:57 PM (edited) Is this "Classic" or "Clang" 32 bit ? Are you using "incremental linking" ? (if so, does it solve your issue if you change the project setting to "incremental linking = false" ? Ooops - sorry - this is Delphi code not C++ - please ignore me ! Edited Tuesday at 01:58 PM by Roger Cigol Share this post Link to post
A.M. Hoornweg 148 Posted yesterday at 09:05 AM FOUND! The L902 linker error disappears if I set the compiler switch "code inlining control" to OFF! I can reproduce this in several 32-bit programs that had this problem. Kudos to my colleague Ralf Claussen who discovered this by chance. Share this post Link to post