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.
Asked
Active
Viewed 1,027 times
2 Answers
2
You cannot. The default mxmlc value for 'strict' is true. Setting it to true has no effect.

alecmce
- 1,456
- 10
- 23
1
What about...
-compiler.strict
alias -strict runs the AS3 compiler in strict error checking mode. strict must be 'false' when es3 is 'true'.
I believe you can just use:
mxmlc --strict=true

Rev316
- 1,920
- 2
- 19
- 24
-
This still does not tell the compiler to treat warnings as errors :( – A.A. Grapsas Nov 28 '11 at 17:47