在zsh的终端下,运行如下代码:
const int maxn=2e5+10;
vector<int> g[maxn];
编译时,会出现如下报错信息:
/var/folders/qg/19htrf296cxdhfdg5cz3wr7r0000gn/T//ccZhpGcl.s:390:29: error: unexpected token in '.section' directive
.section .data.rel.ro.local
自测大概是炸内存了,将maxn开小就能编译成功了,请问有什么解决方法吗?