G
Guest
1. I have an old VC++ 6.0 project , which links with a third party library.
2. During link , the linker warns with LNK4099 :
asklibd.lib(SCURR.OBJ) : warning LNK4099: PDB "vc60.pdb" was not found with "..\..\..\..\thirdparty\lib\asklibd.lib" or at "d:\Project1\Debug\vc60.pdb"; linking object as if no debug info
3. There are hundreds of warnings like these.
4. The workaround suggested on VC/MFC discussion forum was :
#pragma comment(linker, "/ignore:4099")
statement to be included in the pch.h file
5. This ignores the warnings when the 6.0 project is built
6. However , when I build the project in VC++ 7.1 , The compiler gives a warning saying that this is an invalid directive.
warning LNK4229: invalid directive '/ignore:4099' encountered; ignored
Question : Is the above /ignore directive undocumented ? Is this discontinued with VC 7.1 ?
Could MS Support shed some light on this issue ?
Thanks,
Amit Kulkarni
PS : when replying DO NOT include original email with >>. I know what I have written ;-)
2. During link , the linker warns with LNK4099 :
asklibd.lib(SCURR.OBJ) : warning LNK4099: PDB "vc60.pdb" was not found with "..\..\..\..\thirdparty\lib\asklibd.lib" or at "d:\Project1\Debug\vc60.pdb"; linking object as if no debug info
3. There are hundreds of warnings like these.
4. The workaround suggested on VC/MFC discussion forum was :
#pragma comment(linker, "/ignore:4099")
statement to be included in the pch.h file
5. This ignores the warnings when the 6.0 project is built
6. However , when I build the project in VC++ 7.1 , The compiler gives a warning saying that this is an invalid directive.
warning LNK4229: invalid directive '/ignore:4099' encountered; ignored
Question : Is the above /ignore directive undocumented ? Is this discontinued with VC 7.1 ?
Could MS Support shed some light on this issue ?
Thanks,
Amit Kulkarni
PS : when replying DO NOT include original email with >>. I know what I have written ;-)