2
我想限制某些警告项目包括,所以系统包括不检查。所以:我可以限制警告到我的项目的包括,而不是所有包括llvm或gcc?
/* I want no warnings from this include */
#include <myheader.h>
/* I want warnings from this include */
#include "myotherheader.h"
这可能与llvm和/或gcc?
问候, 约亨
GCC可以根据“引用类型”(“”与<>)而不使用-isystem区分这两种类型吗?至少在Xcode 4.0.2附带的编译器中,两个包含的文件都会生成警告。 – Jochen