This warning is usually because either a.) you're linking to a library but the linker is detecting that you're not using any functions from it, or b.) an unused function in your code is referencing a symbol that the linker discarded.
You can try one of the following options to get rid of the warning:
- Add a /IGNORE:4089 switch to the linker command-line in the project settings to ignore the warning.
- Add a #pragma comment(linker, "/IGNORE:4089") to your stdafx.h to ignore the warning.
- Remove references to the library and don't link to it if you're not using any functions from it.
- Use the /VERBOSE switch to see the functions that the linker is discarding and debug the source of the problem.
Hope th
is helps.
- Elton