Skip to content

Commit

Permalink
Use c++14 to pass the verilator check (backport #3876) (#3913)
Browse files Browse the repository at this point in the history
* Use c++14 to pass the verilator check (#3876)

(cherry picked from commit 6229155)

# Conflicts:
#	svsim/src/main/scala/verilator/Backend.scala

* Resolve backport conflicts

---------

Co-authored-by: qimingchu <[email protected]>
Co-authored-by: Jack Koenig <[email protected]>
  • Loading branch information
3 people authored Mar 7, 2024
1 parent cbef967 commit 05845d5
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 @@ -116,7 +116,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 05845d5

Please sign in to comment.