How to tell mxmlc to treat warnings as errors?

I am using the mxmlc command line tool to compile a clean AS3 project. Is there a command line option for mxmlc to handle warnings as errors? I read all the compiler flags and flex-config.xml, but could not find this option.

+3
source share
2 answers

You can not. The default mxmlc value for "strict" is true. Setting it to true does not affect.

+2
source

What about...

-compiler.strict    

alias -strict AS3 . "false", es3 "true".

, :

mxmlc --strict=true 
+1

Source: https://habr.com/ru/post/1713508/


All Articles