[
https://issues.apache.org/jira/browse/FLEX-33735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770348#comment-13770348
]
Justin Mclean commented on FLEX-33735:
--------------------------------------
You're missing some of the options if you want to be very "strict".
-warn-array-tostring-changes
-warn-assignment-within-conditional
-warn-bad-array-cast
-warn-bad-bool-assignment
-warn-bad-date-cast
-warn-bad-es3-type-method
-warn-bad-es3-type-prop
-warn-bad-nan-comparison
-warn-bad-null-assignment
-warn-bad-null-comparison
-warn-bad-undefined-comparison
-warn-boolean-constructor-with-no-args
-warn-changes-in-resolve
-warn-class-is-sealed
-warn-const-not-initialized
-warn-constructor-returns-value
-warn-deprecated-event-handler-error
-warn-deprecated-function-error
-warn-deprecated-property-error
-warn-duplicate-argument-names
-warn-duplicate-variable-def
-warn-for-var-in-changes
-warn-import-hides-classes
-warn-instance-of-changes
-warn-internal-error
-warn-level-not-supported
-warn-missing-namespace-decl
-warn-negative-uint-literal
-warn-no-constructor
-warn-no-explicit-super-call-in-constructor
-warn-no-type-decl
-warn-number-from-string-changes
-warn-scoping-change-in-this
-warn-slow-text-field-addition
-warn-unlikely-function-value
-warn-xml-class-has-changed
As a fair number of these are there to help with AS2 to AS3 migration I don't
see any point in changing this behaviour. If you don't want the warnings to
show, which are only warnings about possible issues with AS2 migrated code,
then don't pass them to the compiler.
Anyone one else have another view?
> Compiler warnings on runtime shared libraries if migration warnings are
> enabled
> -------------------------------------------------------------------------------
>
> Key: FLEX-33735
> URL: https://issues.apache.org/jira/browse/FLEX-33735
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Compiler
> Affects Versions: Apache Flex 4.10.0
> Environment: Linux 3.11 x86_64
> Reporter: Sword Dragon
> Priority: Trivial
> Attachments: output.log
>
>
> Initially I have reported this issue on Adobe Flex 4.6
> (https://bugs.adobe.com/jira/browse/SDK-32330) but it also exists in Apache
> Flex 4.10. If the migration warnings are enabled the runtime shared libraries
> will show some compiler warnings. In the attachments is an example output.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira