Skip to content

Commit

Permalink
Convert #warnings to errors (RobotLocomotion#14174)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcconachie-tri authored Oct 14, 2020
1 parent 26c9920 commit f7d01c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion systems/analysis/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ drake_cc_library(
name = "simulator_flags",
srcs = ["simulator_flags.cc"],
hdrs = ["simulator_flags.h"],
copts = ["-w"],
copts = ["-Wno-cpp"],
deps = [
":simulator_config_functions",
],
Expand Down
1 change: 1 addition & 0 deletions tools/skylark/drake_cc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ load("@cc//:compiler.bzl", "COMPILER_ID", "COMPILER_VERSION_MAJOR")
# building with any compiler.
CXX_FLAGS = [
"-Werror=all",
"-Werror=cpp",
"-Werror=deprecated",
"-Werror=deprecated-declarations",
"-Werror=ignored-qualifiers",
Expand Down

0 comments on commit f7d01c4

Please sign in to comment.