Skip to content

Commit

Permalink
Update build.sbt and add deprecation warnings to Printf.apply methods
Browse files Browse the repository at this point in the history
  • Loading branch information
adkian-sifive committed Nov 10, 2022
1 parent e3de7b1 commit 49e231c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ lazy val docs = project // new documentation project
.settings(commonSettings)
.settings(
scalacOptions ++= Seq(
"-Xfatal-warnings",
"-language:reflectiveCalls",
"-language:implicitConversions"
),
Expand Down
6 changes: 4 additions & 2 deletions core/src/main/scala/chisel3/Printf.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 49e231c

Please sign in to comment.