LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded by /OPT:REF
How can I get rid of this error then?
I tried going into settings and unlinking advapi32.lib but then it complains that it needs it!
I know I shouldn''t care so long as everything compiles but it''s annoying
- seb
Well you know what I mean. I''d still like to know what causes it and if there''s a proper way of resolving it? Just got rid of my 122 other warnings :D
- seb
- seb
it simply is having the exe not reference (ie dont require nor loads) that particular dll. this normal is you link to all default libs yet dont use funtions from ceratin ones. another possiblity is that the compiler is staticly comiling all the functions right into the exe (since you may not be calling many). either dont use functions from the library and make sure you dont reference any funtions from it (ie via headers and such). you can also tell the optimizer not to remove references (i think).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement