connection between 2 systems and bug fixes (#14)

This commit is contained in:
tompzf
2026-07-03 14:53:48 +02:00
committed by GitHub
parent 0fb5660d27
commit 46842200f1
284 changed files with 35200 additions and 8265 deletions

View File

@@ -174,6 +174,9 @@ std::string CProxyGenerator::GetFuncImpl(const SFuncInfo& rsFunc, CKeywordMap& r
else
sstreamExceptions << R"code(sdv::XUnknownException exception;
exception.unknown_id = except_id;
// Cpp-Check 2.7 warns about the uninitialized variable _id. This variable is allocated as inline static const and is
// assigned a value. Suppress the warning.
// cppcheck-suppress uninitvar
throw exception;)code";
for (const std::string& rssException : rvecExceptions)
{
@@ -181,6 +184,9 @@ std::string CProxyGenerator::GetFuncImpl(const SFuncInfo& rsFunc, CKeywordMap& r
{
)code" << rssException << R"code( exception;
desOutput >> exception;
// Cpp-Check 2.7 warns about the uninitialized variable _id. This variable is allocated as inline static const and is
// assigned a value. Suppress the warning.
// cppcheck-suppress uninitvar
throw exception;
}
)code";
@@ -190,6 +196,9 @@ std::string CProxyGenerator::GetFuncImpl(const SFuncInfo& rsFunc, CKeywordMap& r
{
sdv::XUnknownException exception;
exception.unknown_id = except_id;
// Cpp-Check 2.7 warns about the uninitialized variable _id. This variable is allocated as inline static const and is
// assigned a value. Suppress the warning.
// cppcheck-suppress uninitvar
throw exception;
}
})code";