A.M. Hoornweg 148 Posted February 18 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 128 Posted February 18 (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 February 18 by Roger Cigol Share this post Link to post
A.M. Hoornweg 148 Posted February 20 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