Skip to content

STL: /MD version does not load dynamic imports #2311

Description

Describe the bug
/MD version of STL DLL built from sources does not call initialize_pointers() in winapisupp.cpp

Command-line test case

#include <mutex>

int main()
{
    std::mutex mx;
}

Build with /MD (not /MT or /MDd)

Step using disassembly deep into constructor, see that it creates Vista critical section, not win7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions