我如何告诉mxmlc的治疗警告视为错误?错误、mxmlc

2023-09-08 14:45:48 作者:心凉就在一瞬间

我使用mxmlc的命令行工具来编译纯AS3项目。 是否有一个命令行选项,以使mxmlc的警告视为错误?我在所有的编译器标志和Flex-config.xml中看过,但没能找到这个选项。

I'm using the mxmlc command line tool to compile a pure AS3 project. Is there a command line option to make mxmlc treat warnings as errors? I've read through all the compiler flags and flex-config.xml but wasn't able to find this option.

推荐答案

您不能。对于严格默认mxmlc的值是true。它设置为true,没有任何效果。

You cannot. The default mxmlc value for 'strict' is true. Setting it to true has no effect.