提交 44b27f0d 编写于 作者: M Megvii Engine Team

build(3516): fix some cpu flags build failed and fix 3516 ycm

GitOrigin-RevId: a0c73fa18a98e924b45265af736349d76f8dbc75
上级 cab46f2a
......@@ -22,6 +22,16 @@ namespace {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuninitialized"
#ifdef __GNUC__
#ifndef __has_warning
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#else
#if __has_warning("-Wmaybe-uninitialized")
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#endif
#endif
////////////////////Store_OC4_OW8_Remain/////////////////////////
template <int ow_remain, typename Op>
struct Store_OC4_OW8_Remain {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册