Apparently inserting /LTCG into the linker command line as well will fix it, but nobody on the web, not even MSDN, seems to want to tell me what a "non-native object" is.warning LNK4218: non-native module found; restarting link with /LTCG
Anyone?
Moderator: Graf Zahl
Apparently inserting /LTCG into the linker command line as well will fix it, but nobody on the web, not even MSDN, seems to want to tell me what a "non-native object" is.warning LNK4218: non-native module found; restarting link with /LTCG
Sure, I read the MSDN article on this error; the compiler automatically sets the linker option and restarts the link, so it isn't serious.Graf Zahl wrote:As I understand it you have to set both options to make whole program optimization work properly and this is just a reminder that you forgot it.