Skip to content

Commit

Permalink
feat(cdc): fix compilation with GCC14
Browse files Browse the repository at this point in the history
  • Loading branch information
Lapshin committed Aug 15, 2024
1 parent df7af9f commit 90845c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions host/class/cdc/usb_host_vcp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
2 changes: 1 addition & 1 deletion host/class/cdc/usb_host_vcp/idf_component.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 90845c3

Please sign in to comment.