[cfe-users] Clang (with Visual Studio) wrongly complains about missing variables
John Emmas via cfe-users
cfe-users at lists.llvm.org
Thu Sep 23 09:58:47 PDT 2021
Many thanks Dave,
Over on llvm-dev a contributer called Hans found this on Microsoft's
MSDN site:-
https://docs.microsoft.com/en-us/cpp/cpp/defining-inline-cpp-functions-with-dllexport-and-dllimport
So the current theory is that Microsoft's compiler can indeed inline DLL
functions - but probably only if they're specifically declared using
'inline'
And I've posted a question on the MSDN Developer forum to ask if someone
can clarify this for us. Fingers crossed!
John
More information about the cfe-users
mailing list