This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ff75e32e netutils/connectedhomeip: use CONFIG_CXX_STANDARD instead of 
hard code
2ff75e32e is described below

commit 2ff75e32e922f4ba8d228121a38a5298ecffb344
Author: zhanghongyu <[email protected]>
AuthorDate: Thu Oct 24 10:51:14 2024 +0800

    netutils/connectedhomeip: use CONFIG_CXX_STANDARD instead of hard code
    
    as c++ versions are upgraded, hard code compilation options can
    cause build error
    
    Signed-off-by: zhanghongyu <[email protected]>
---
 netutils/connectedhomeip/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netutils/connectedhomeip/CMakeLists.txt 
b/netutils/connectedhomeip/CMakeLists.txt
index 3db205e46..1ba40ce7a 100644
--- a/netutils/connectedhomeip/CMakeLists.txt
+++ b/netutils/connectedhomeip/CMakeLists.txt
@@ -182,7 +182,7 @@ if(CONFIG_MATTER)
 
   set(MATTER_FLAGS
       -DCHIP_HAVE_CONFIG_H
-      -std=c++17
+      -std=${CONFIG_CXX_STANDARD}
       -Wno-undef
       
-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>
   )

Reply via email to