================ @@ -27,8 +28,8 @@ extern "C" { __declspec(dllexport) void foo1() {} } #elif defined(DLL2) -extern "C" { ---------------- mstorsjo wrote: Here you lost an `extern "C" {`, and end up with unbalanced parentheses. https://github.com/llvm/llvm-project/pull/109887