is it possible to disable linker warnings?

just wondering, is it possible to disable linker warnings in code, as you can with the warning pragma for compiler warnings

Answer this question

is it possible to disable linker warnings?

  • Michael Per

    David Ricardo Leyva wrote:

    #pragma warning (disable:XXXX) Where XXXX is your warning code.

    That's for compiler warnings, not linker.



  • Anarchy

    couldn't really find more info on it;
    doesn't make sense also: eg #pragma warning ( disable : 4221 ) would disable the compiler warning C4221, not linker's LNK4221..

  • Scott Anthony

    my mistake

  • ak8888

    Hi

    Yes u Can

    Try this:

    #pragma warning (disable:XXXX) Where XXXX is your warning code.

    Regards

    David Leyva



  • mastermemorex

    No, I'm afraid not.

  • enric vives

    David Ricardo Leyva wrote:
    my mistake

    Not necessarily. I seem to recall there being some change on that from VC6/7 to VC8. There should be a thread about that here somewhere.



  • is it possible to disable linker warnings?