From cacf65000cb1a8aa49b29a7be3f11de60a9b7afe Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 19 Jun 2016 03:57:19 -0400 Subject: show scalac warnings to stage1 and stage2 compilation --- nailgun_launcher/Stage0Lib.java | 5 ++++- 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 ) -- cgit v1.2.3