Open Sean-Der opened 1 month ago
To fix them quickly I did
diff --git a/examples/esp32/main/CMakeLists.txt b/examples/esp32/main/CMakeLists.txt
index 424fc44..b622c63 100644
--- a/examples/esp32/main/CMakeLists.txt
+++ b/examples/esp32/main/CMakeLists.txt
@@ -4,3 +4,9 @@ idf_component_register(SRCS
)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
+
+idf_component_get_property(lib sepfy__srtp COMPONENT_LIB)
+target_compile_options(${lib} PRIVATE -Wno-error=incompatible-pointer-types)
+
+idf_component_get_property(lib sepfy__libpeer COMPONENT_LIB)
+target_compile_options(${lib} PRIVATE -Wno-error=incompatible-pointer-types)
Got it. i'll fix the incompatible pointer types in libpeer, and libsrtp we can use -Wno-error=incompatible-pointer-types
I also gets lots of them from libsrtp