我从第三方代码中得到了很多这些警告,我不能修改。 有没有办法禁用这个警告,或者至少在某些区域禁用它(比如vc++中的#pragma push/pop)?< / p >
例子:
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_'
 
                                
                             
                                
                             
                                
                             
                                
                             
                                
                             
                                
                            