• std::mt19937 with ARM Compiler 6 uses sys_open and breaks retarget.c

    I'm using Keil V5.30.0.0 and ArmClang.exe V6.14.

    When I tried using std::mt19937, like so:

    #include <random>

    std::mt19937 mt;
    std::uniform_int_distribution< uint32_t > dist(0);

    auto a = dist( mt );

    I got linker errors:

    .\obj\rcu.axf: Error:…