Switching compiler to LLVM causes errors in VS c++

Hello!
I am working in Visual Studio 2019, writing an app in c++ that uses MongoDB to connect to a database. When I compile the app with the default Visual Studio 2019 compiler (v142), it compiles and works just fine. But, when I switch the compiler to LLVM, I get errors during compilation that all say “attribute ‘dllimport’ cannot be applied to a deleted function”. Here is the error message:


It is necessary for my app to use the LLVM compiler. How do I fix this issue, could someone help?

Submit an issue here: SAML Login - MongoDB Jira - MongoDB Jira


It says I don’t have permissions to post - I didn’t know what other epic to pick.

Did you log in first?

It asked me to pick an avatar (not sure if it has to be linked to this account somehow), but yes.

Weird, I’ve always been able to create issues.
Not sure what the problem is. @Veronica_Cooley-Perry ?

1 Like

Try replacing “Build Failure” with “Bug”. It seems external users do not have permission to report “Build Failure” issues. I reported this internally to fix the Jira form.

2 Likes