diff --git a/src/app/server/StorablePeerConnection.cpp b/src/app/server/StorablePeerConnection.cpp index 05bcc415365483..02107b525a8f68 100644 --- a/src/app/server/StorablePeerConnection.cpp +++ b/src/app/server/StorablePeerConnection.cpp @@ -28,6 +28,7 @@ StorablePeerConnection::StorablePeerConnection(PASESession & session, FabricInde mKeyId = session.GetLocalKeyId(); } +#pragma GCC diagnostic ignored "-Wstack-usage=" CHIP_ERROR StorablePeerConnection::StoreIntoKVS(PersistentStorageDelegate & kvs) { char key[KeySize()]; diff --git a/src/protocols/secure_channel/CASESession.cpp b/src/protocols/secure_channel/CASESession.cpp index 81502b81643f6d..be7f738ee04e2c 100644 --- a/src/protocols/secure_channel/CASESession.cpp +++ b/src/protocols/secure_channel/CASESession.cpp @@ -596,6 +596,7 @@ CHIP_ERROR CASESession::HandleSigmaR2_and_SendSigmaR3(System::PacketBufferHandle return CHIP_NO_ERROR; } +#pragma GCC diagnostic ignored "-Wstack-usage=" CHIP_ERROR CASESession::HandleSigmaR2(System::PacketBufferHandle && msg) { CHIP_ERROR err = CHIP_NO_ERROR; diff --git a/src/transport/FabricTable.cpp b/src/transport/FabricTable.cpp index 046c9156cd0c67..2f66b2ffc666bb 100644 --- a/src/transport/FabricTable.cpp +++ b/src/transport/FabricTable.cpp @@ -43,6 +43,7 @@ CHIP_ERROR FabricInfo::SetFabricLabel(const uint8_t * fabricLabel) return CHIP_NO_ERROR; } +#pragma GCC diagnostic ignored "-Wstack-usage=" CHIP_ERROR FabricInfo::StoreIntoKVS(PersistentStorageDelegate * kvs) { CHIP_ERROR err = CHIP_NO_ERROR;