[Tile-serving] [osm2pgsql] MSVC: add flag to skip warings about missing .pdbs (#477)
alex85k
notifications at github.com
Wed Oct 28 08:03:23 UTC 2015
This small PR affects only Windows and reduces a log of Debug build greately, eliminating .pdb related warnings like the following ones:
```
proj.lib(PJ_chamb.obj) : warning LNK4099: PDB 'proj.pdb' was not found with 'proj.lib(PJ_chamb.obj)' or at 'D:\winbuilds\osm2pgsql\build\tests\proj.pdb'; linking object as if no debug info
proj.lib(PJ_collg.obj) : warning LNK4099: PDB 'proj.pdb' was not found with 'proj.lib(PJ_collg.obj)' or at 'D:\winbuilds\osm2pgsql\build\tests\proj.pdb'; linking object as if no debug info
proj.lib(PJ_crast.obj) : warning LNK4099: PDB 'proj.pdb' was not found with 'proj.lib(PJ_crast.obj)' or at 'D:\winbuilds\osm2pgsql\build\tests\proj.pdb'; linking object as if no debug info
proj.lib(PJ_denoy.obj) : warning LNK4099: PDB 'proj.pdb' was not found with 'proj.lib(PJ_denoy.obj)' or at 'D:\winbuilds\osm2pgsql\build\tests\proj.pdb'; linking object as if no debug info
..... (hundreds of lines)
```
http://stackoverflow.com/questions/661606/visual-c-how-to-disable-specific-linker-warnings
PDB files are needed only for interactive debug and they are not available in the most packages.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/477
-- Commit Summary --
* MSVC: add flag to skip warings about missing .pdbs
-- File Changes --
M CMakeLists.txt (2)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/477.patch
https://github.com/openstreetmap/osm2pgsql/pull/477.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/477
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151028/e0901e75/attachment.html>
More information about the Tile-serving
mailing list