How to due with "warning LNK4075: ignoring '/INCREMENTAL' due to

F

Fresh

Hi,

I met a problem, when I change warning level to 4 and to track warning
as error, then a link warning show
"warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF'
specification"
I change the INCREMENTAL to default, then warnings disappeared, but
I'm not sure if it is the correct solution.
Any suggestion?
 
I

Ian Collins

Fresh said:
Hi,

I met a problem, when I change warning level to 4 and to track warning
as error, then a link warning show
"warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF'
specification"
I change the INCREMENTAL to default, then warnings disappeared, but
I'm not sure if it is the correct solution.
Any suggestion?

Ask of a group dedicated to your compiler.
 
B

Bo Persson

Ian said:
Ask of a group dedicated to your compiler.

Where he will no doubt be told that INCREMENTAL adds extra padding to
the linked objects, so that they can be separately relinked later.
OPT:ICF on the other hand tries to reduce the executable size but
merging identical code blocks and removing unuse space.

Could there be a conflict there? :)



Bo Persson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top