Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Issue 686103006: Remove -Werror from pnacl build, due to default switch error in subzero. (Closed)

Created:
6 years, 1 month ago by Karl
Modified:
6 years, 1 month ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Remove -Werror from pnacl build, due to default switch error in subzero. When compiling using toolchain_build_pnacl.py, we get errors of form: Don't use default labels in fully covered switches over enumerations I tried different combinations of -Wno-covered-switch-default and -Wno-error=covered-switch-default, but was not able to stop this error from being generated. Hence, taking the simplier route of removing -Werror from Makefile. (see www.llvm.org/docs/CodingStandards.html for more details) BUG=None R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=6c4fde964a765130547a513ab371002a37c49cba

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove other warnings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Makefile View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
Karl
6 years, 1 month ago (2014-10-30 18:12:46 UTC) #2
Jim Stichnoth
lgtm https://codereview.chromium.org/686103006/diff/1/Makefile File Makefile (right): https://codereview.chromium.org/686103006/diff/1/Makefile#newcode15 Makefile:15: CXX.Flags += -std=c++11 -Wextra -Wno-error=unused-parameter Maybe you should ...
6 years, 1 month ago (2014-10-30 18:20:34 UTC) #3
Karl
https://codereview.chromium.org/686103006/diff/1/Makefile File Makefile (right): https://codereview.chromium.org/686103006/diff/1/Makefile#newcode15 Makefile:15: CXX.Flags += -std=c++11 -Wextra -Wno-error=unused-parameter On 2014/10/30 18:20:34, stichnot ...
6 years, 1 month ago (2014-10-30 19:30:57 UTC) #4
Karl
6 years, 1 month ago (2014-10-30 22:11:20 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
6c4fde964a765130547a513ab371002a37c49cba (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698