我如何告诉mxmlc的治疗警告视为错误? [英] How do I tell mxmlc to treat warnings as errors?

查看:141
本文介绍了我如何告诉mxmlc的治疗警告视为错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用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.

这篇关于我如何告诉mxmlc的治疗警告视为错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆