<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56803>56803</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[C++20] [Modules] `-fprebuilt-module-path` doesn't work under `-std=c++2b`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:driver,
clang:modules
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ChuanqiXu9
</td>
</tr>
</table>
<pre>
It is easy to reproduce. Just change the language standard option to `-std=c++2b -fprebuilt-module-path=.`. Then the compiler would warning for:
```
warning: argument unused during compilation: '-fprebuilt-module-path=.' [-Wunused-command-line-argument]
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UsuOnDAQ_BpzsUDGDDAcOOzOaKVEyi1ScvWjB5wYm_ixq_37tNlZJYpWkVqCdneVqwqk16_zp0RNpCDiK02eBtiD11lBQz_nmKhahVuAphWoxbcssIlJOC2Cpn5PxrsCIwOrY9KkuyrCH7G4pPVtDyCzsanekNJCvYu04kqD2w39uoI7eJXfdmMh0BefraYvIjjjFnrzgXQPhF0Je0DAvY72voJjKsKSN3CJZpcjaKpzKOA3TlHklS3Cx_-o4SMl_WP97Y2iRuyGBmtrHNTv_KS__iOlgrkd-olN_dDzSs-dnrpJVMkkCzPyXe5BMIQW_i_HrfHoMK2P5QyMag_RoaaEeYSf6EtjNB_kWyTkYOc1pT2WpPgT1mLSmmWDHrCx9vn9UeNn_QEqYWtizKiDP_XDmXXVOrfifB4Fa09yUBymTp7YqM4D8PEmJsX7ygoJNhZThHNV_gO8TwfzDAEPCL_Qv863u08c9NfKzJxxzkY-tW1_attGS9kPw00qLpjSoyInBpswtikqGx-WKsyHYJmXiENrYop_hiJGszg4Ei78IqfVh_myZuF-me95qg578-HtN-fP6Lw">