Steve Lawrence created DAFFODIL-2145:
----------------------------------------
Summary: Add scalac warnings
Key: DAFFODIL-2145
URL: https://issues.apache.org/jira/browse/DAFFODIL-2145
Project: Daffodil
Issue Type: Bug
Components: Infrastructure
Reporter: Steve Lawrence
DAFFODIL-1652 removed the follwoing scalac flag warnings when adding suport for
scala 2.12 because the build flags changed:
* -Ybackend:GenBCode
* -Ydead-code
* -Yinline
* -Yinline-warnings
* -Yopt:inline-global
* -Yopt-warnings
* -Ywarn-inaccessible
* -Ywarn-infer-any
* -Ywarn-nullary-override
* -Ywarn-unused
* -Ywarn-unused-import
In some of these cases scala 2.12 just changed the name of the warning (e.g.
-Ywarn-unused-import became -Ywarn-unused:imports). We should find the
equivalent 2.12 warnings if they exist and add conditional logic to apply the
correct flags based on scala version a scala version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)