Menu

#1167 Visual C++ GEN_PDB option should not use default .pdb name

closed-fixed
libcurl (356)
5
2014-08-15
2012-11-13
No

When building both debug and release versions of libcurl static library the previous generated .pdb file is overwritten.
Use the /Fd compiler flag to specify the ,pdb filename. E.g. /Fdlibcurl_a_debug.pdb
Also copy the .pdb into the builds/*/lib subdirectory so it can be picked up automatically by the linker.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2012-11-13

    Can you please provide a patch for this? Very few of us in the project actually use or build for windows...

     
  • Mark Snelling

    Mark Snelling - 2012-11-14

    Patch to fix .PDB file output

     
  • Mark Snelling

    Mark Snelling - 2012-11-14

    Please find .patch attached.

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-11-14

    Thanks for the report, this problem is now fixed in the git repository.

    To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html

    or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-11-14
    • status: open --> closed-fixed