From 90845c34e7cb03ea64d7ae17246b4d0315d9871d Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Thu, 15 Aug 2024 12:31:08 +0700 Subject: [PATCH] feat(cdc): fix compilation with GCC14 --- host/class/cdc/usb_host_vcp/CMakeLists.txt | 10 +++++----- host/class/cdc/usb_host_vcp/idf_component.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/host/class/cdc/usb_host_vcp/CMakeLists.txt b/host/class/cdc/usb_host_vcp/CMakeLists.txt index f21ce532..bb6f4026 100644 --- a/host/class/cdc/usb_host_vcp/CMakeLists.txt +++ b/host/class/cdc/usb_host_vcp/CMakeLists.txt @@ -1,11 +1,11 @@ idf_component_register(SRCS "usb_host_vcp.cpp" INCLUDE_DIRS "include") -set_target_properties(${COMPONENT_LIB} PROPERTIES - CXX_STANDARD 14 - CXX_STANDARD_REQUIRED ON -) - +# TODO IDF-10802 if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 13.2) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116070 + set_target_properties(${COMPONENT_LIB} PROPERTIES + CXX_STANDARD 14 + CXX_STANDARD_REQUIRED ON + ) target_compile_options(${COMPONENT_LIB} PRIVATE -fconcepts) endif() diff --git a/host/class/cdc/usb_host_vcp/idf_component.yml b/host/class/cdc/usb_host_vcp/idf_component.yml index 90ce3a01..c5bfb800 100644 --- a/host/class/cdc/usb_host_vcp/idf_component.yml +++ b/host/class/cdc/usb_host_vcp/idf_component.yml @@ -1,5 +1,5 @@ ## IDF Component Manager Manifest File -version: "1.0.0~4" +version: "1.0.0~5" description: USB Host Virtual COM Port Service url: https://github.com/espressif/esp-usb/tree/master/host/class/cdc/usb_host_vcp dependencies: