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 Jul 24, 2024
1 parent 4bf729f commit 7d80b23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion host/class/cdc/usb_host_vcp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ set_target_properties(${COMPONENT_LIB} PROPERTIES
CXX_STANDARD 14
CXX_STANDARD_REQUIRED ON
)
target_compile_options(${COMPONENT_LIB} PRIVATE -fconcepts)

if (GCC_VERSION VERSION_LESS_EQUAL 13.2) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116070
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~2"
version: "1.0.0~3"
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 7d80b23

Please sign in to comment.