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

Issue 1706613002: Fix getopt signature in port_win.h (Closed)

Created:
4 years, 10 months ago by Sam Clegg
Modified:
4 years, 10 months ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Fix getopt signature in port_win.h This was causing a build failure in ncval_new when using clang on windows: FAILED: ninja -t msvc -e environment.x64 -- E:\b\build\goma/gomacc.exe ../../third_party/llvm-build/Release+Asserts/bin/clang-cl.exe /nologo /showIncludes /FC @obj/native_client/src/trusted/validator/driver/ncval_new/ncval.obj.rsp /c ../../native_client/src/trusted/validator/driver/ncval.cc /Foobj/native_client/src/trusted/validator/driver/ncval_new/ncval.obj /Fdobj/native_client/src/trusted/validator/driver/ncval_new_cc.pdb ../../native_client/src/trusted/validator/driver/ncval.cc(359,36) : error: ISO C++11 does not allow conversion from string literal to 'char *' [-Werror,-Wwritable-strings] while ((opt = getopt(argc, argv, "vd")) != -1) { BUG=585999 Committed: https://chromium.googlesource.com/native_client/src/native_client/+/d78d8b5237f08d737642aa89b89113dcebf21b14

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/include/win/port_win.h View 1 chunk +1 line, -1 line 0 comments Download
M src/shared/platform/win/port_win.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
Sam Clegg
4 years, 10 months ago (2016-02-17 00:03:07 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706613002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706613002/1
4 years, 10 months ago (2016-02-17 00:03:16 UTC) #5
Mark Seaborn
LGTM
4 years, 10 months ago (2016-02-17 00:04:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706613002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706613002/1
4 years, 10 months ago (2016-02-17 00:25:31 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 00:51:37 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/native_client/src/native_client/+/d78d8b523...

Powered by Google App Engine
This is Rietveld 408576698