提交 2b8134fb 编写于 作者: S Shengjing Zhu

external backward: allow old-style cast & unknown pragmas

Signed-off-by: NShengjing Zhu <i@zhsj.me>
上级 5e35efbf
......@@ -52,6 +52,9 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
endif()
# Anbox: allow old-style cast, unknown pragmas
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=old-style-cast -Wno-error=unknown-pragmas")
###############################################################################
# BACKWARD OBJECT
###############################################################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册