project --> xxx(工程名) Properties...进去以后configuration properties --> c/c++ --> advanceddisable specific warnings栏填入警告的编号如果是多个警告,用逗号分隔他们的编号比如warning 4299: 就填4299