Discussion:
How to due with "warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification"
(too old to reply)
Fresh
2008-04-22 03:06:39 UTC
Permalink
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?
Ian Collins
2008-04-22 03:27:29 UTC
Permalink
Post by 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?
Ask of a group dedicated to your compiler.
--
Ian Collins.
Bo Persson
2008-04-22 21:03:44 UTC
Permalink
Post by Ian Collins
Post by 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?
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

Loading...