SERVER-139281In Code Review

Suppress static Windows tcmalloc import warnings

Static Windows links of {{tcmalloc_minimal}} produce LNK4217/LNK4286 because the public headers declare DLL imports while the allocator comes from a static archive. Propagate {{/IGNORE:4217}} and {{/IGNORE:4286}} through this target's {{linkopts}} only for Windows with static linking. Keep the allocator declarations unchanged so the existing executable exports remain available to consumers. Confined to {{src/third_party/gperftools/BUILD.bazel}}. Prerequisite for #66298, independently based on m

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1026
Components
Server components related to this issue
Bazel
Labels
Tags and classification

No labels assigned.