View Full Version : debug(Release) message
02-08-2000, 12:21 AM
for some reason when working in release mode in VC++ 6.0 I get this strange message :
"LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded by /OPT:REF"
Does anyone knows what causes it , and how to get rid of it ?
02-08-2000, 01:30 AM
This isn't a bug. If you look at the Link tab under Project/Settings menu, you'll see that you have the advapi32.lib import lib linked in by default. (Look at the "object/library modules" list; you'll probably need to scroll along a way.)
The import lib basically declares functions that are implemented in a DLL. However, the linker has noticed that your program doesn't actually call anything in that DLL, so it leaves out the import declarations to save a bit of space.
As I said, this isn't a problem, but if it bothers you just remove "advapi32.lib" from the list on the Link tab.
02-08-2000, 01:33 AM
02-08-2000, 01:43 AM
It worked . But know I`ve got some new link error messages (errors and not warnings).
02-08-2000, 02:58 AM
Bit short on details - what link errors?
This sounds like a general compiler question rather than an OpenGL question, so maybe we should take it off-list. If you want to contact me by email, feel free.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.