diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-01-17 17:06:13 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-01-18 08:07:49 +0000 |
commit | 956e6f3a97217acc8f4630e3e681fde1d0cccc51 (patch) | |
tree | 175b0906d5c4dcfcfeb09667da1d6d0e5cd5eb25 /src/plugins/cpptools/cpphoverhandler.cpp | |
parent | d3096f0f73f5585b64e57ba95f5a9210086fe5fa (diff) | |
download | qt-creator-956e6f3a97217acc8f4630e3e681fde1d0cccc51.tar.gz |
Clang: Fix MSVC build
Link error:
clangpchmanagerbackendmain.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __cdecl ClangBackEnd::ClangPathWatcher<class QFileSystemWatcher,class QTimer>::ClangPathWatcher<class QFileSystemWatcher,class QTimer>(
class ClangBackEnd::FilePathCachingInterface &,class ClangBackEnd::ClangPathWatcherNotifier *)"
(__imp_??0?$ClangPathWatcher@VQFileSystemWatcher@@VQTimer@@@ClangBackEnd@@QEAA@AEAVFilePathCachingInterface@1@PEAVClangPathWatcherNotifier@1@@Z) referenced in function main
Looks like MSVC looks for import even for inline template functions.
Another alternative is to revert 351f355b69632038f996d2d7039903d10f82c003
and either ignore or suppress the GCC warning.
Change-Id: I040d4e3924af7f4d1f4424276329c6095e6ff6bd
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpphoverhandler.cpp')
0 files changed, 0 insertions, 0 deletions