MinGW: TOO MANY SECTIONS issue

时间:2021-02-25 17:47:57

http://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/509A38C6.6070807@doxos.eu/

MingGW 4.8.2在编译模板特别多的CPP的时候会报出这样的错误。

Optimization Levels

https://gcc.gnu.org/onlinedocs/gnat_ugn/Optimization-Levels.html

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

Solution

TDM-GCC-32 v4.9.2已经修复了这个BUG。