The falcon compiler and the (old) mxmlc compiler handle errors and warnings
differently. In the mxmlc compiler a message is always an
error/warning/info message at creation. In falcon, messages have a default
severity but can be treated as an error, warning, or ignored. The
configuration options to put a message into a severity category are
-error-problems, -warning-problmes, and -ignore-problems.

So to suppress a warning use -ignore-problems, passing the fully-qualified
problem class to ignore.
For example:
>mxmlc -ignore-problems
org.apache.flex.compiler.problems.ANELibraryNotAllowedProblem

will ignore all reported problems with class ANELibraryNotAllowedProblem.
The compiler will still report the problem it will just won't be displayed.
For more info see the ProblemSettingsFilter class. This class handles the
filtering and implements mxmlc options that ignore warnings.


-Darrell

On Tue, Dec 30, 2014 at 11:41 AM, Alex Harui <aha...@adobe.com> wrote:

> I don’t know for sure.  Maybe Gordon or Darrell know if warning
> suppression is supposed to work in Falcon.
>
> On 12/30/14, 1:35 AM, "Left Right" <olegsivo...@gmail.com> wrote:
>
> >I looked into mxmlc -help warnings but I don't see an option to void
> >the warning issued on assignment inside while (and maybe other such
> >places). Is there one, or it simply isn't implemented yet?
> >
> >Thanks!
>
>

Reply via email to