Open ghost opened 3 years ago
I have the similar problem with clang-15
fatal error: module 'std_config' is defined in
both '/home/xxx/.cache/clang/ModuleCache/307IGPE8YCJFE/std_config-1LRZ8JTHCNMTQ.pcm'
and '/home/xxx/.cache/clang/ModuleCache/1J5DHBDSQ4I0A/std_config-1LRZ8JTHCNMTQ.pcm'
I have deleted /home/xxx/.cache/clang/ModuleCache
but they are generated both again during build.
Let's say i have two modules which import the same header from stdlib (array)
This code works and when i launch
command from command line it doesn't show any warnings. But vscode extension and clangd (
clangd --check=module_two.cpp --log=verbose
) give me a strange error:Also i've found similar issue : https://windowsquestions.com/2021/04/05/modules-with-clangd-configuration/ Logs log.log
System information Clangd version: 12.0.0 clangd extension version:0.1.11 Operating system:Linux (Manjaro)