2024-04-18 01:07 ftp://ftp.de.debian.org/debian/pool/main/libc/libcereal/libcereal_1.3.2+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 317 TO! elapsed-time: 895.2 1800.2 head-timing-info: old-timing-info: head results: cereal-1.3.2/sandbox/performance.cpp:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/performance.cpp:278:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/performance.cpp:422:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/performance.cpp:314:3: warning: Member variable 'PoDStructCereal::a' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructCereal? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:314:3: warning: Member variable 'PoDStructCereal::b' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructCereal? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:314:3: warning: Member variable 'PoDStructCereal::c' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructCereal? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:314:3: warning: Member variable 'PoDStructCereal::d' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructCereal? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:328:3: warning: Member variable 'PoDStructBoost::a' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructBoost? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:328:3: warning: Member variable 'PoDStructBoost::b' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructBoost? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:328:3: warning: Member variable 'PoDStructBoost::c' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructBoost? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:328:3: warning: Member variable 'PoDStructBoost::d' is not initialized in the constructor. Maybe it should be initialized directly in the class PoDStructBoost? [uninitDerivedMemberVar] cereal-1.3.2/sandbox/performance.cpp:320:8: warning: The struct 'PoDChildCereal' defines member function with name 'serialize' also defined in its parent struct 'PoDStructCereal'. [duplInheritedMember] cereal-1.3.2/sandbox/performance.cpp:292:8: note: Parent function 'PoDStructCereal::serialize' cereal-1.3.2/sandbox/performance.cpp:320:8: note: Derived function 'PoDChildCereal::serialize' cereal-1.3.2/sandbox/performance.cpp:334:8: warning: The struct 'PoDChildBoost' defines member function with name 'serialize' also defined in its parent struct 'PoDStructBoost'. [duplInheritedMember] cereal-1.3.2/sandbox/performance.cpp:306:8: note: Parent function 'PoDStructBoost::serialize' cereal-1.3.2/sandbox/performance.cpp:334:8: note: Derived function 'PoDChildBoost::serialize' cereal-1.3.2/sandbox/performance.cpp:272:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] cereal-1.3.2/sandbox/performance.cpp:280:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/sandbox/performance.cpp:358:11: style: Consider using std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/sandbox/performance.cpp:377:11: style: Consider using std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/sandbox/performance.cpp:270:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/sandbox/performance.cpp:261:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/sandbox/sandbox.cpp:821:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_CLASS_VERSION is a macro then please configure it. [unknownMacro] cereal-1.3.2/sandbox/sandbox_json.cpp:317:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_json.cpp:67:5: warning:inconclusive: Member variable 'Test2::a' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/sandbox/sandbox_json.cpp:292:3: warning: Member variable 'OOJson::a' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/sandbox/sandbox_json.cpp:292:3: warning: Member variable 'OOJson::b' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/sandbox/sandbox_json.cpp:292:3: warning: Member variable 'OOJson::d' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/sandbox/sandbox_json.cpp:159:8: style:inconclusive: Technically the member function 'Everything::operator==' can be const. [functionConst] cereal-1.3.2/sandbox/sandbox_json.cpp:68:5: style: Class 'Test2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/sandbox/sandbox_rtti.cpp:195:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_REGISTER_TYPE is a macro then please configure it. [unknownMacro] cereal-1.3.2/sandbox/sandbox_shared_lib/base.hpp:43:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_CLASS_VERSION is a macro then please configure it. [unknownMacro] cereal-1.3.2/sandbox/sandbox_shared_lib/derived.hpp:22:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_REGISTER_TYPE is a macro then please configure it. [unknownMacro] cereal-1.3.2/sandbox/sandbox_vs.cpp:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:88:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:166:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:201:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:181:5: warning: Member variable 'MemberMinimal::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/sandbox/sandbox_vs.cpp:80:8: performance:inconclusive: Technically the member function 'Test::serialzize' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:86:8: performance:inconclusive: Technically the member function 'Test::save' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:92:8: performance:inconclusive: Technically the member function 'Test::load' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:103:7: performance:inconclusive: Technically the member function 'Test::save_minimal' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:109:7: performance:inconclusive: Technically the member function 'Test::save_minimal' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:115:8: performance:inconclusive: Technically the member function 'Test::load_minimal' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:164:8: performance:inconclusive: Technically the member function 'B::serialize' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/sandbox/sandbox_vs.cpp:160:12: style: The destructor '~B' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cereal-1.3.2/sandbox/sandbox_vs.cpp:155:12: note: Virtual destructor in base class cereal-1.3.2/sandbox/sandbox_vs.cpp:160:12: note: Destructor in derived class cereal-1.3.2/sandbox/sandbox_vs.cpp:161:8: style: The function 'foo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cereal-1.3.2/sandbox/sandbox_vs.cpp:154:16: note: Virtual function in base class cereal-1.3.2/sandbox/sandbox_vs.cpp:161:8: note: Function in derived class cereal-1.3.2/sandbox/sandbox_vs.cpp:160:12: style: The destructor '~B' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] cereal-1.3.2/sandbox/sandbox_vs.cpp:155:12: note: Virtual destructor in base class cereal-1.3.2/sandbox/sandbox_vs.cpp:160:12: note: Destructor in derived class cereal-1.3.2/sandbox/sandbox_vs.cpp:172:8: style: struct member 'C::a' is never used. [unusedStructMember] cereal-1.3.2/unittests/doctest.h:436:1: debug: Failed to parse 'typedef decltype ( nullptr ) nullptr_t ;'. The checking continues anyway. [simplifyTypedef] cereal-1.3.2/unittests/doctest.h:840:48: debug: Failed to parse 'typedef __underlying_type ( T ) type ;'. The checking continues anyway. [simplifyTypedef] cereal-1.3.2/unittests/doctest.h:827:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:895:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:911:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:918:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:978:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1196:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1197:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1198:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1199:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1200:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1203:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1204:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1208:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1209:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1212:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1213:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1215:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1216:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1217:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1329:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1330:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1332:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1333:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1334:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1335:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1337:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1338:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1339:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1340:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1342:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1343:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1344:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1347:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1348:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1375:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1380:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1634:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1719:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:1746:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:3036:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:3079:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:3288:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4170:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4231:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolalpha [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4501:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_ONSTACK [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4565:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_cs [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4617:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4651:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4697:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:4841:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uppercase [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5016:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5069:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5080:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5570:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5590:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5915:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:5967:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:6264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable detail [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:6449:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable detail [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:6723:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stringifiedContexts [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/common.hpp:160:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/doctest.h:3082:31: error: Returning object that will be invalid when returning. [returnDanglingLifetime] cereal-1.3.2/unittests/doctest.h:3082:31: note: Pointer to container is created here. cereal-1.3.2/unittests/doctest.h:3082:31: note: Returning object that will be invalid when returning. cereal-1.3.2/unittests/doctest.h:3099:33: error: Returning object that will be invalid when returning. [returnDanglingLifetime] cereal-1.3.2/unittests/doctest.h:3099:33: note: Pointer to container is created here. cereal-1.3.2/unittests/doctest.h:3099:33: note: Returning object that will be invalid when returning. cereal-1.3.2/unittests/doctest.h:1192:9: warning: Member variable 'Result::m_passed' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:1692:9: warning: Member variable 'MessageBuilder::m_stream' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:1692:9: warning: Member variable 'MessageData::m_file' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] cereal-1.3.2/unittests/doctest.h:1692:9: warning: Member variable 'MessageData::m_line' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] cereal-1.3.2/unittests/doctest.h:1692:9: warning: Member variable 'MessageData::m_severity' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] cereal-1.3.2/unittests/doctest.h:5623:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:5623:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:5623:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:5627:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:5627:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:5627:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:6443:5: warning: Member variable 'DiscardOStream::discardBuf' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:6427:5: style: The class 'Anonymous0' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] cereal-1.3.2/unittests/common.hpp:169:3: warning:inconclusive: Member variable 'StructBase::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/common.hpp:169:3: warning:inconclusive: Member variable 'StructBase::y' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/doctest.h:3168:5: style: The class 'MultiLaneAtomic < int >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] cereal-1.3.2/unittests/doctest.h:1301:26: style:inconclusive: Technically the member function 'doctest::detail::Expression_lhs::operatorResult' can be const. [functionConst] cereal-1.3.2/unittests/doctest.h:1323:9: debug: CheckClass::checkConst found unlinked template argument list 'doctest::detail::declval()()'. [debug] cereal-1.3.2/unittests/doctest.h:1714:14: style:inconclusive: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. [functionConst] cereal-1.3.2/unittests/doctest.h:4682:26: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. cereal-1.3.2/unittests/doctest.h:1714:14: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. cereal-1.3.2/unittests/doctest.h:1792:10: style:inconclusive: Technically the member function 'doctest::Context::shouldExit' can be const. [functionConst] cereal-1.3.2/unittests/doctest.h:6416:15: note: Technically the member function 'doctest::Context::shouldExit' can be const. cereal-1.3.2/unittests/doctest.h:1792:10: note: Technically the member function 'doctest::Context::shouldExit' can be const. cereal-1.3.2/unittests/doctest.h:1794:10: style:inconclusive: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. [functionConst] cereal-1.3.2/unittests/doctest.h:6418:15: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. cereal-1.3.2/unittests/doctest.h:1794:10: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. cereal-1.3.2/unittests/doctest.h:5581:14: performance:inconclusive: Technically the member function 'doctest::::JUnitReporter::log_contexts' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/unittests/doctest.h:5641:21: performance:inconclusive: Technically the member function 'doctest::::ConsoleReporter::getSuccessOrFailString' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/unittests/doctest.h:5648:21: performance:inconclusive: Technically the member function 'doctest::::ConsoleReporter::getSuccessOrFailColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] cereal-1.3.2/unittests/doctest.h:6244:11: warning: Class 'Context' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] cereal-1.3.2/unittests/doctest.h:6244:11: warning: Class 'Context' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] cereal-1.3.2/unittests/doctest.h:1193:9: style: Struct 'Result' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1367:9: style: Struct 'ExpressionDecomposer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1733:1: style: Struct 'test_suite' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1734:1: style: Struct 'description' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1735:1: style: Struct 'skip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1736:1: style: Struct 'no_breaks' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1737:1: style: Struct 'no_output' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1738:1: style: Struct 'timeout' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1739:1: style: Struct 'may_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1740:1: style: Struct 'should_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:1741:1: style: Struct 'expected_failures' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:4720:9: style: Class 'XmlEncode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:4755:9: style: Class 'XmlWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:4736:13: style: Class 'ScopedElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:5100:9: style: Struct 'XmlReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:5470:9: style: Struct 'JUnitReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:5623:9: style: Struct 'ConsoleReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/doctest.h:3059:16: style: Condition '*ptr' is always true [knownConditionTrueFalse] cereal-1.3.2/unittests/doctest.h:3056:21: note: Assignment 'x=1', assigned value is 1 cereal-1.3.2/unittests/doctest.h:3059:16: note: Condition '*ptr' is always true cereal-1.3.2/unittests/doctest.h:6727:53: style:inconclusive: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. [funcArgNamesDifferent] cereal-1.3.2/unittests/doctest.h:1905:71: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. cereal-1.3.2/unittests/doctest.h:6727:53: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. cereal-1.3.2/unittests/doctest.h:4644:31: performance: Function parameter 'result' should be passed by const reference. [passedByValue] cereal-1.3.2/unittests/doctest.h:4473:29: style: Variable 'def' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/doctest.h:5158:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/doctest.h:5162:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/doctest.h:5851:31: style: Variable 'curr' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/doctest.h:3058:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cereal-1.3.2/unittests/doctest.h:3042:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] cereal-1.3.2/unittests/doctest.h:5008:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] cereal-1.3.2/unittests/doctest.h:6526:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/common.hpp:153:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/common.hpp:162:8: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/array.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/array.hpp:45:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/array.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/array.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/array.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/common.hpp:139:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/doctest.h:3198:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/doctest.h:4544:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] cereal-1.3.2/unittests/doctest.h:4549:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] cereal-1.3.2/unittests/atomic.hpp:158:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/basic_string.hpp:107:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/basic_string.cpp:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Nb [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/bitset.hpp:78:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/boost/boost_variant.hpp:99:3: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/boost/boost_variant.hpp:36:5: style: Struct 'NonDefaultConstructible' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/chrono.hpp:92:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/complex.hpp:69:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/defer.hpp:50:3: warning: Member variable 'DeferNode::id' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/defer.hpp:50:3: warning: Member variable 'DeferNode::w' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/defer.hpp:50:3: warning: Member variable 'DeferNode::z' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/defer.hpp:121:15: style: Variable 'r' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/defer.hpp:146:17: style: Variable 'node' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/defer.hpp:156:17: style: Variable 'node' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/defer.hpp:138:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/defer.hpp:142:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/defer.hpp:151:11: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/defer.hpp:161:11: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/deque.hpp:87:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/deque.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/deque.hpp:45:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/deque.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/deque.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/deque.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/forward_list.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/forward_list.hpp:45:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/forward_list.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/forward_list.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/forward_list.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/list.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/list.hpp:45:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/list.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/list.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/list.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/load_construct.hpp:275:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/load_construct.hpp:33:3: style: Struct 'OneLA' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/load_construct.hpp:61:3: style: Struct 'OneLAVersioned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/load_construct.hpp:93:3: style: Struct 'TwoLA' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/load_construct.hpp:128:3: style: Struct 'TwoLAVersioned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/load_construct.hpp:167:3: style: Struct 'ThreeLA' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/map.hpp:156:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/memory.hpp:144:3: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/memory.hpp:118:5: warning: Member variable 'TestClass::x' is not initialized in the constructor. [uninitMemberVarPrivate] cereal-1.3.2/unittests/memory.hpp:113:5: style: Class 'TestClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/memory.hpp:144:3: warning:inconclusive: Possible null pointer dereference: i_ptr [nullPointer] cereal-1.3.2/unittests/memory.hpp:129:30: note: Assignment 'std::shared_ptri_ptr', assigned value is 0 cereal-1.3.2/unittests/memory.hpp:144:3: note: Null pointer dereference cereal-1.3.2/unittests/memory.hpp:145:3: warning:inconclusive: Possible null pointer dereference: i_ptr2 [nullPointer] cereal-1.3.2/unittests/memory.hpp:130:36: note: Assignment 'std::shared_ptri_ptr2', assigned value is 0 cereal-1.3.2/unittests/memory.hpp:144:3: note: Assuming condition is false cereal-1.3.2/unittests/memory.hpp:145:3: note: Null pointer dereference cereal-1.3.2/unittests/memory_cycles.hpp:136:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/memory_cycles.hpp:33:3: warning: Member variable 'MemoryCycle::value' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/memory_cycles.hpp:35:3: style: Struct 'MemoryCycle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/memory_cycles.hpp:63:5: style: Class 'MemoryCycleLoadAndConstruct' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/multimap.hpp:119:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/multiset.hpp:109:7: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/pair.hpp:75:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/pod.hpp:125:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/polymorphic.hpp:228:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_REGISTER_TYPE is a macro then please configure it. [unknownMacro] cereal-1.3.2/unittests/portability_test.cpp:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/portability_test.cpp:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/portability_test.cpp:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/portability_test.cpp:153:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/portability_test.cpp:81:3: warning: Member variable 'Data2::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/portability_test.cpp:81:3: warning: Member variable 'Data2::y' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/portability_test.cpp:113:3: style: Struct 'Another' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/portable_binary_archive.cpp:40:3: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/portable_binary_archive.hpp:91:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/priority_queue.hpp:87:12: style: Variable 'i_podpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:88:12: style: Variable 'i_iserpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:89:12: style: Variable 'i_isplpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:90:12: style: Variable 'i_eserpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:91:12: style: Variable 'i_esplpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:93:12: style: Variable 'o_podpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:94:12: style: Variable 'o_iserpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:95:12: style: Variable 'o_isplpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:96:12: style: Variable 'o_eserpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/priority_queue.hpp:97:12: style: Variable 'o_esplpriority_queue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:87:12: style: Variable 'i_podqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:88:12: style: Variable 'i_iserqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:89:12: style: Variable 'i_isplqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:90:12: style: Variable 'i_eserqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:91:12: style: Variable 'i_esplqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:93:12: style: Variable 'o_podqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:94:12: style: Variable 'o_iserqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:95:12: style: Variable 'o_isplqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:96:12: style: Variable 'o_eserqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/queue.hpp:97:12: style: Variable 'o_esplqueue_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:87:12: style: Variable 'i_podstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:88:12: style: Variable 'i_iserstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:89:12: style: Variable 'i_isplstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:90:12: style: Variable 'i_eserstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:91:12: style: Variable 'i_esplstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:93:12: style: Variable 'o_podstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:94:12: style: Variable 'o_iserstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:95:12: style: Variable 'o_isplstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:96:12: style: Variable 'o_eserstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/stack.hpp:97:12: style: Variable 'o_esplstack_c' can be declared as reference to const [constVariableReference] cereal-1.3.2/unittests/structs.hpp:61:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/structs_minimal.hpp:242:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/structs_minimal.hpp:59:5: warning: Member variable 'MemberMinimalVersioned::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/structs_minimal.hpp:83:3: warning: Member variable 'NonMemberMinimal::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/structs_minimal.hpp:102:3: warning: Member variable 'NonMemberMinimalVersioned::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/structs_minimal.hpp:140:3: warning: Member variable 'Issue79Struct::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/structs_minimal.hpp:175:3: warning: Member variable 'Issue79StructInternal::x' is not initialized in the constructor. [uninitMemberVar] cereal-1.3.2/unittests/structs_minimal.hpp:35:5: style: Class 'MemberMinimal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:60:5: style: Class 'MemberMinimalVersioned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:84:3: style: Struct 'NonMemberMinimal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:103:3: style: Struct 'NonMemberMinimalVersioned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:141:3: style: Struct 'Issue79Struct' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:176:3: style: Struct 'Issue79StructInternal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cereal-1.3.2/unittests/structs_minimal.hpp:41:17: performance: Function 'save_minimal()' should return member 'x' by const reference. [returnByReference] cereal-1.3.2/unittests/structs_specialized.hpp:366:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_REGISTER_TYPE is a macro then please configure it. [unknownMacro] cereal-1.3.2/unittests/tuple.hpp:92:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/unordered_loads.hpp:137:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/unordered_map.hpp:90:7: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/unordered_multimap.hpp:107:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/unordered_multiset.hpp:109:7: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/unordered_set.hpp:89:7: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/user_data_adapters.hpp:107:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/user_data_adapters.hpp:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Exception [valueFlowBailoutIncompleteVar] cereal-1.3.2/unittests/valarray.hpp:87:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/valarray.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/valarray.hpp:45:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/valarray.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/valarray.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/valarray.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/vector.hpp:94:5: debug: Failed to instantiate template "binary_assert". The checking continues anyway. [templateInstantiation] cereal-1.3.2/unittests/vector.hpp:41:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/vector.hpp:49:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/vector.hpp:53:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/vector.hpp:57:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/vector.hpp:61:12: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] cereal-1.3.2/unittests/versioning.hpp:115:1: error: There is an unknown macro here somewhere. Configuration is required. If CEREAL_CLASS_VERSION is a macro then please configure it. [unknownMacro] DONE