News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

/OPT:NOREF ...

Started by James Ladd, February 27, 2005, 01:38:41 AM

Previous topic - Next topic

James Ladd

When I compile my app I get the following:

Assembling: fastsvr.asm
Assembling: fsplgin.asm
Assembling: main.asm
   Creating library fastsvr.lib and object fastsvr.exp
LINK : warning LNK4089: all references to "ws2_32.dll" discarded by /OPT:REF
   Creating library fsplgin.lib and object fsplgin.exp
LINK : warning LNK4089: all references to "ws2_32.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "ws2_32.dll" discarded by /OPT:REF


Should I be worried about this ?
Can I turn it off?

I dont have a great deal of information on Link so I dont really know if this is a good or bad thing.

Rgs, striker

hutch--

James,

Dump the result and have a look at the import table, it may be that you have identical declarations for an API somewhere.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Tedd

It's just a waring to say that ws2_32.dll is being included, but none of its functions are ever used.
Nothing to really worry about.
If you can, just remove the include/includelib for ws2_32 to get rid of it.
No snowflake in an avalanche feels responsible.

James Ladd

Thanks. I can see where I include a library but dont use it.