對編譯單元内的static全局數據,如果這些數據沒有被使用,g++編譯器會自動remove掉這些數據,vc++好像沒有這麽"智能"。
转载于:https://www.cnblogs.com/prajna/p/3339145.html