之後被初始化我從第三方代碼中收到很多這些警告,我無法修改 有沒有辦法禁用此警告或者至少在某些區域禁用它(如#pragma PUSH/POP在VC++)gcc warning''將在'
?例如:。
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_'
你可以請張貼幾行實際警告?還要告訴如果這是C,C++,並且如果有源代碼,如果警告來自鏈接器或編譯過程? – csl 2009-10-14 08:15:12