diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-19 03:57:19 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-19 03:57:19 -0400 |
commit | cacf65000cb1a8aa49b29a7be3f11de60a9b7afe (patch) | |
tree | 1846d2396297549517d875a990a8f2bbabf1e9f4 | |
parent | 7b5cf6fe7da9aac9af51d2a6cd410407a9cb17ad (diff) | |
download | cbt-cacf65000cb1a8aa49b29a7be3f11de60a9b7afe.tar.gz cbt-cacf65000cb1a8aa49b29a7be3f11de60a9b7afe.tar.bz2 cbt-cacf65000cb1a8aa49b29a7be3f11de60a9b7afe.zip |
show scalac warnings to stage1 and stage2 compilation
-rw-r--r-- | nailgun_launcher/Stage0Lib.java | 5 | ||||
-rw-r--r-- | stage1/Stage1.scala | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/nailgun_launcher/Stage0Lib.java b/nailgun_launcher/Stage0Lib.java index ae09d78..9728e6f 100644 --- a/nailgun_launcher/Stage0Lib.java +++ b/nailgun_launcher/Stage0Lib.java @@ -74,7 +74,10 @@ public class Stage0Lib{ "-sbt-interface", earlyDeps.sbtInterface_0_13_9_File, "-compiler-interface", earlyDeps.compilerInterface_0_13_9_File, "-cp", classpath, - "-d", target + "-d", target, + "-S-deprecation", + "-S-feature", + "-S-unchecked" } ) ); diff --git a/stage1/Stage1.scala b/stage1/Stage1.scala index 1059647..d7081dd 100644 --- a/stage1/Stage1.scala +++ b/stage1/Stage1.scala @@ -101,7 +101,7 @@ object Stage1{ stage2sourceFiles, stage2Target, stage2StatusFile, cbtDependency.dependencyClasspath, mavenCache, - Seq("-deprecation"), classLoaderCache, + Seq("-deprecation","-feature","-unchecked"), classLoaderCache, zincVersion = "0.3.9", scalaVersion = constants.scalaVersion ) |