代码拉取完成,页面将自动刷新
37
【LLVM平行宇宙】Support build with clang
已合并
使用 clang 编译器编译过程中,会出现如下类型编译错误:
-Wformat-nonliteral
-Wstrncat-size
-Wstrict-prototypes
故在 spec 文件中指定仅当使用 clang 编译器时忽略上述错误,添加了以下 flag:
-Wno-error=format-nonliteral
-Wno-error=strncat-size
-Wno-error=strict-prototypes