Rae*_*elz 5 c++ clang emscripten
我一直在尝试将第三方库链接到我的程序。工具链使用 Clang 4.0.0 进行编译(emscripten 1.37.19 在工具链中使用 clang)。我收到有关 __declspec 的错误,查找后发现我需要将 -fdeclspec 参数添加到 clang 中。但是,现在我收到此警告:
warning: __declspec attribute 'dllimport' is not supported [-Wignored-attributes]
Run Code Online (Sandbox Code Playgroud)
Clang 4.0 文档说应该支持这个属性。我在这里错过了什么吗?