As long complete callback will have a stack allocated pointer, uqmi
need to have --Wno-dangling-pointer.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
OPTION(BUILD_STATIC OFF)
-ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-enum-conversion)
+ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-enum-conversion -Wno-dangling-pointer)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")