如何通过编译器命令行禁用 IBM xl C++ 编译器的特定警告?
How to disable a specific warning of IBM xl C++ compiler via compiler commandline?
我得到编译器message/information
1500-030: (I) INFORMATION: ... Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192.
并且无法通过
关闭
#pragma report(disable, "1500-030")
如问题 How to disable a specific IBM XL C++ compiler warning?
所建议
xlc 运行 OS 是什么?
尝试
-qsuppress=1500-030
或
-w
我得到编译器message/information
1500-030: (I) INFORMATION: ... Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192.
并且无法通过
关闭#pragma report(disable, "1500-030")
如问题 How to disable a specific IBM XL C++ compiler warning?
所建议xlc 运行 OS 是什么?
尝试
-qsuppress=1500-030
或
-w