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

View File

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

View File

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