|
|
|
[
Permlink
| « Hide
]
Kristen Sindac - [11/15/07 07:20 PM - edited ]
This may not be a regression since deprecation warnings are not properly reported before. This is an effect of ASC now reporting deprecation warnings but mxmlc -show-deprecation-warnings option does not know about these warnings and does not suppress them.
Unavoidable unless we want to integrate a new ASC -- ASC is not aware of these settings, and I'm not aware of a way to pass configuration options to ASC (gut says to use ContextStatics or something...). -warnings=false may provide insight on this, though odds are that it just ignores ALL warnings from ASC rather than telling ASC to not emit them.
We could rename this to -show-deprecation-warnings to -show-mxml-deprecation-warnings -- this flag will definitely disable warnings that come from MXML components; AS is unavoidable. * Making the option advanced and hidden (similar to compiler.show-dependency-warnings), in the meantime.
* Removing it from flex-config.xml and air-config.xml, since that is high-exposure. * Ant tasks still support it. * OEM API still supports it because there is no nice way to hide it, and deprecating it would be wrong (hah). 188245 should get reverted when the bug is revisited, and docs for this feature should be re-added or re-worded to announce its triumphant return! confirmed that -show-deprecation-warnings is hidden in command line help list and config file
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||