aras-p / ClangBuildAnalyzer

Clang build analysis tool using -ftime-trace
The Unlicense
969 stars 60 forks source link

Fix atomic<int> deleted function #53

Closed NeroBurner closed 3 years ago

NeroBurner commented 3 years ago
"std::atomic<int>::atomic(const std::atomic<int> &)" (declared at line 668 of "/usr/include/c++/7/atomic"),
required for copy that was eliminated, cannot be referenced -- it is a deleted functionC/C++(1815)
NeroBurner commented 3 years ago

@aras-p I think the Windows runner is borked. It always throws the following error, even though I did not change anything remotely touching flat_hash_map

 D:\a\ClangBuildAnalyzer\ClangBuildAnalyzer\src\external\flat_hash_map\flat_hash_map.hpp(1344,24): error C2039: 'out_of_range': is not a member of 'std' (compiling source file ..\..\src\Analysis.cpp) [D:\a\ClangBuildAnalyzer\ClangBuildAnalyzer\projects\vs2019\ClangBuildAnalyzer.vcxproj]
aras-p commented 3 years ago

I think the Windows runner is borked

Yeah looks like Github Actions upgraded VS2019 studio version it has, which has changed STL headers layout or include dependencies a bit. flat_hash_map.hpp was missing <stdexcept> include.