From 49e231cdfe7d7af242249137ed7d892809d68f1d Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Thu, 10 Nov 2022 11:57:01 -0800 Subject: [PATCH] Update build.sbt and add deprecation warnings to Printf.apply methods --- build.sbt | 1 - core/src/main/scala/chisel3/Printf.scala | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index b958b19a77b..2a484d75322 100644 --- a/build.sbt +++ b/build.sbt @@ -295,7 +295,6 @@ lazy val docs = project // new documentation project .settings(commonSettings) .settings( scalacOptions ++= Seq( - "-Xfatal-warnings", "-language:reflectiveCalls", "-language:implicitConversions" ), diff --git a/core/src/main/scala/chisel3/Printf.scala b/core/src/main/scala/chisel3/Printf.scala index efcd03ef356..a733807281b 100644 --- a/core/src/main/scala/chisel3/Printf.scala +++ b/core/src/main/scala/chisel3/Printf.scala @@ -103,10 +103,12 @@ object printf { // Private internal methods that serve to maintain binary // compatibility after interpolator check updates - private[chisel3] def apply(fmt: String, sourceInfo: SourceInfo, compileOptions: CompileOptions): Printf = + @deprecated("This Printf.apply method has been deprecated and will be removed in Chisel 3.6") + def apply(fmt: String, sourceInfo: SourceInfo, compileOptions: CompileOptions): Printf = apply(fmt, Nil, sourceInfo, compileOptions) - private[chisel3] def apply( + @deprecated("This Printf.apply method has been deprecated and will be removed in Chisel 3.6") + def apply( fmt: String, data: Seq[Bits], sourceInfo: SourceInfo,