In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmTypes.cpp:15: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmTypeExtensions.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmDevice.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmPolicy.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/Tpm2.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/Serialize.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/Crypto.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/stdafx.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmAuthSessions.cpp:8: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmStructure.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Src/stdafx.h:32, from Src/TpmHelpers.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Samples/stdafx.h:52, from Samples/DocSamples.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; Samples/DocSamples.cpp: In member function ‘void Samples::Errors()’: Samples/DocSamples.cpp:62:25: warning: catching polymorphic type ‘class std::system_error’ by value [-Wcatch-value=] 62 | catch (system_error e) { | ^ Samples/DocSamples.cpp: In member function ‘void Samples::ThreeElementPolicy()’: Samples/DocSamples.cpp:363:12: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 363 | catch (exception) { | ^~~~~~~~~ In file included from include/Tss.h:8, from include/Tpm2.h:22, from Samples/stdafx.h:52, from Samples/TpmCppTest.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Samples/stdafx.h:52, from Samples/TpmConfig.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; In file included from include/Tss.h:8, from include/Tpm2.h:22, from Samples/stdafx.h:52, from Samples/Samples.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; Samples/Samples.cpp: In member function ‘void Samples::PolicyPCRSample()’: Samples/Samples.cpp:1342:12: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 1342 | catch (exception) { | ^~~~~~~~~ Samples/Samples.cpp: In member function ‘void Samples::PolicyORSample()’: Samples/Samples.cpp:1527:12: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 1527 | catch (exception) { | ^~~~~~~~~ Samples/Samples.cpp: In member function ‘void Samples::PolicyCounterTimerSample()’: Samples/Samples.cpp:1965:16: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 1965 | catch (exception) { | ^~~~~~~~~ Samples/Samples.cpp: In member function ‘void Samples::Unseal()’: Samples/Samples.cpp:2125:12: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 2125 | catch (exception) { | ^~~~~~~~~ Samples/Samples.cpp: In member function ‘void Samples::PolicyNVSample()’: Samples/Samples.cpp:3218:12: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 3218 | catch (exception) { | ^~~~~~~~~ In file included from include/Tss.h:8, from include/Tpm2.h:22, from Samples/stdafx.h:52, from Samples/stdafx.cpp:6: include/TpmTypes.h: In member function ‘bool TpmCpp::TPMS_PCR_SELECTION::PcrIsSelected(UINT32)’: include/TpmTypes.h:3656:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3656 | return pcrSelect[pcr / 8] = (1 << (pcr % 8)) != 0; CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY