Visual Studio; Try to fix compilation

This commit is contained in:
Daniel Marjamäki 2020-12-20 21:01:45 +01:00
parent 37a5ec8cd5
commit 47bb487c95
3 changed files with 22 additions and 2 deletions

View File

@ -179,6 +179,15 @@
<ClCompile Include="utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="summaries.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="bughuntingchecks.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="reverseanalyzer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="checkbufferoverrun.h">
@ -346,6 +355,12 @@
<ClInclude Include="precompiled.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="summaries.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="bughuntingchecks.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="version.rc" />

View File

@ -21,14 +21,16 @@
#define summariesH
//---------------------------------------------------------------------------
#include "config.h"
#include <set>
#include <string>
class Tokenizer;
namespace Summaries {
std::string create(const Tokenizer *tokenizer, const std::string &cfg);
void loadReturn(const std::string &buildDir, std::set<std::string> &summaryReturn);
CPPCHECKLIB std::string create(const Tokenizer *tokenizer, const std::string &cfg);
CPPCHECKLIB void loadReturn(const std::string &buildDir, std::set<std::string> &summaryReturn);
}
//---------------------------------------------------------------------------

View File

@ -220,6 +220,9 @@
<ClCompile Include="testutils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="testsummaries.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="options.h">