mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(tools): update esp-clang version to esp-21.1.3_20260304
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
idf_component_register(SRCS "rtti_example_main.cpp"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
# Fix Clang 21 potentially-evaluated-expression warning
|
||||
# rtti_example_main.cpp: error: expression with side effects will be evaluated
|
||||
# despite being used as an operand to 'typeid'
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-potentially-evaluated-expression)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user