Ubuntu Release版本编译失败规避方法 #49
robinhzp
started this conversation in
Show and tell
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -std=gnu11 -Wno-stringop-overflow -Werror -Wall -Wno-unused -Wno-pointer-sign -Wno-format-security -DNDEBUG_PRINT -DNPRINT_MALLOC ")
增加-Wno-stringop-overflow 选项
Beta Was this translation helpful? Give feedback.
All reactions