470,590 Members | 2,556 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,590 developers. It's quick & easy.

link warnings?

Hi
I made a console application called ffind.exe.
When building, the linker gives the warnings below. I presume they are telling me that it is eliminating functions from the .EXE that I have specified but not used, however if so then this is what I WANT it to do. Am I right in presuming this, and if so is there any way I can cause it not to flag them as warnings but on the contrary, ensure that it *does* always do this? (The warnings don't occur in debug mode. The project is an MFC console application built with VC6. Statically linked to MFC.)

--------------------Configuration: ffind - Win32 Release--------------------
Compiling...
ffind.cpp
stringlist.cpp
Linking...
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/subsystem:console /incremental:no "/pdb:Release/ffind.pdb" /machine:I386 "/nodefaultlib:msvcrtd.lib" "/out:Release/ffind.exe" /nodefaultlib:libcmt.lib, /nodefaultlib:msvcrt.lib, /nodefaultlib:libcd.lib, /nodefaultlib:libcmtd.lib,
".\Release\ffind.obj"
".\Release\stringlist.obj"
LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "comdlg32.dll" discarded by /OPT:REF
Creating browse info file...

ffind.exe - 0 error(s), 3 warning(s)

Nov 17 '05 #1
0 1280

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Kylotan | last post: by
14 posts views Thread by Steve McLellan | last post: by
2 posts views Thread by Jeff Kish | last post: by
3 posts views Thread by gil | last post: by
3 posts views Thread by Kevin | last post: by
3 posts views Thread by rhino | last post: by
5 posts views Thread by johnnash | last post: by
1 post views Thread by Robert Singer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.