我从无法修改的第三方代码中得到很多这样的警告。 有没有一种方法可以禁用此警告,或者至少在某些区域(如VC++中的#pragma push/pop)禁用它?
示例:
list.h:1122: warning: `list<LogOutput*, allocator<LogOutput*> >::node_alloc_' will be initialized after
list.h:1117: warning: `allocator<LogOutput*> list<LogOutput*, allocator<LogOutput*> >::alloc_'