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 authored Jul 24, 2024
1 parent 4bf729f commit 5c9b666
Showing 1 changed file with 4 additions and 1 deletion.
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()

0 comments on commit 5c9b666

Please sign in to comment.