just::thread Support Forum

General Category => General Discussion about just::thread => Topic started by: adumais on October 25, 2011, 06:47:53 PM

Title: Warning LNK4099 when linking with *check* library
Post by: adumais on October 25, 2011, 06:47:53 PM
Hello,

I am using just::thread V1.7.0.

I get warning LNK4099 when linking with library justthread_check_vc10x64_mdd.lib.  For example (the english version of this warning is «PDB 'filename' was not found with 'object/library' or at 'path'; linking object as if no debug info».):

justthread_check_vc10x64_mdd.lib(thread.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(thread.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(future_errors.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(future_errors.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(mutex.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(mutex.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(atomic.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(atomic.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(chrono.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(chrono.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(thread_exit_handlers.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb' n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(thread_exit_handlers.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage
justthread_check_vc10x64_mdd.lib(waitable_timer.cmddx64.vc10.obj) : warning LNK4099: PDB 'vc100.pdb'  n'a pu être trouvé avec 'justthread_check_vc10x64_mdd.lib(waitable_timer.cmddx64.vc10.obj)' ou sur 'c:\gsm\jt\load_dbg\vc100.pdb' ; l'objet sera lié sans informations de débogage

When using justthread_vc10x64_mdd.lib or justthread_vc10x64_md.lib, everything is fine. 

We would like to always use *vc10*check*mdd.lib in debug mode and *vc10*md.lib in release mode, but no compilation or link warning is allowed in our environment. Is there something I can do to fix this or should there be .pdb files provided with the *check* libraries?

Thanks!
Alexandre

Title: Re: Warning LNK4099 when linking with *check* library
Post by: Anthony Williams on November 02, 2011, 08:44:20 AM
The debug info for the checked libraries should be provided. I'll check the installer packaging and get back to you.
Title: Re: Warning LNK4099 when linking with *check* library
Post by: Anthony Williams on November 05, 2011, 11:20:44 AM
This issue should be fixed in V1.7.2