To suppress this behavior, you can use the -fno-for-scope flag during compilation.
要想禁止这个行为,您可以在编译期间使用- fno - for - scope标志。
fno-rtti -qnortti Disables generation of runtime type -qrtti identification (RTTI) for exception handling and for use by typeid and dynamic_cast operators. On XL C/C++, the default is -qnortti.
fno-rtti -qnortti 对于异常处理和 typeid 和 dynamic_cast 操作符的使用,禁止生成运行时类型 –qrtti 识别(RTTI)。
应用推荐