摘要:
现象: 在Windows Qt下使用MingW编译,报错too many sections…File too big 当代码中使用了大量模板时,会导致编译出的OBJ文件巨大,编译器会报错, 在MSVC下错误为 Fatal Error C1128 在GNU C++下错误提示为 too many sec 阅读全文
摘要:
转载:https://blog.twofei.com/668/ 在包含了 Windows.h 的 C++ 源代码中使用 std::min/std::max 会出现错误。 int main() { int x = std::max(0, 1); int y = std::min(-1, 0); } e 阅读全文