Skip to content

Commit

Permalink
Use c++14 to pass the verilator check (#3876) (#3914)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6229155)

Co-authored-by: qimingchu <[email protected]>
  • Loading branch information
mergify[bot] and Emin017 authored Mar 7, 2024
1 parent db6a64a commit 31c1034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svsim/src/main/scala/verilator/Backend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ final class Backend(
case OptimizationStyle.OptimizeForCompilationSpeed => Seq("-O1")
},

Seq("-std=c++11"),
Seq("-std=c++14"),

additionalHeaderPaths.map { path => s"-I${path}" },

Expand Down

0 comments on commit 31c1034

Please sign in to comment.