<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/65027>65027</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc++][C++23 std module] Error in <string> when compiling std module on windows
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Arthapz
      </td>
    </tr>
</table>

<pre>
    Hello, here an other issue when we compile std module on windows

```
In module 'std' imported from src\mod.mpp:3:
C:\Dev\llvm\include\c++\v1\string:4319:21: error: no member named '__do_string_hash' in namespace 'std'
 4319 |         return std::__do_string_hash(__val.data(), __val.data() + __val.size());
      | 
```

here a self contained reproducer with full logs: https://github.com/Arthapz/libcpp-stdmodule-string-errors

```
> clang --version 
clang version 18.0.0 (https://github.com/llvm/llvm-project.git f6f6f1947da3fd088bd6f8b8d43a31d18ccd750f)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Dev\llvm\bin
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVFGvrCYQ_jWzL2QNgrr64MMe92za975vEEalQTCAu7f31zeo297cntykhCCMAzPzzTcjQtCjRWyh_IDydhJrnJxvrz5OYvl-6p36q_0NjXHAOjKhRyIscXFCT3QIK5LXhJa8kEg3L9ogCVGR2anVIHGWvLRV7hWA3oBej7Wix9yOv9u3OrBLiArYheh5cT6iIoN3MwleQtnNTmXzsgC_cuDHU13ald0Nn1B2xjxnKDttpVkVQtlJYB9plt0zh7IL0Ws7Ar8WPG-AX1kO_ErQe-fTxjoy49yjJ1bMqJI3j4dyj_3aYxJh2lyz2_-wCPmDx7s7JL1M4NKR9_AYV28TJslTfv3vi_Xj8RQmUyIKYDWwJuH8s4wA-ziEQX_Ht2ID_OOwvI1k-UuM93XPHgloBiKdjUJbVMTj4p1aJXry0nEiw2oMMW4MCZQpxiVtgN2B3Ucdp7XPpJuB3Q-GALsb3ctlOYeo9kSe9wDPG7S_Sj3wTyKNsCM5n5_og3b28H-XvmV5ndGMEmD1L_zZ0r9_zot3f6KM2agjGaqhGvKmuCjBB0XrulfVUPe1KrjgucprKdWlpEOCc7P9h_AjxhT9t7p6VMV5keeDxuc5POWhNXkUG9PRJN3FBf3tzegQhTGobnpj1lcs7bX9CZKTarlqeCNO2OZVw_OqrOriNLWqH3LGauQN5bygUl74wCmTJW3UUJf8pFtGGac1u-RNUdMiQ5n3JTZM9KqgVUWhoDgLbbJkPHN-PG2l21YlZZeTET2a8K5_324I9usYoKBGhxj-vRZ1NFunSCl_V9cNyo9uPzD-Q_lDeSOfiQKpZoD_U3-fe8vY-4W249cd47R60_6_dAO7b3EFYPcttL8DAAD__0-Ze7o">