Chrome Version: 66.0.3335.0 git rev 1063641d0bf9b23449f758d7e0de55b7611dcc06
OS: Win10
What steps will reproduce the problem?
(1) use gn flags:
c:\src\gclient\src>type out\gnrelease64\args.gn
# Build arguments go here. Examples:
# is_component_build = true
# is_debug = false
# See "gn args <out_dir> --list" for available build arguments.
is_component_build = false
is_debug = false
target_cpu = "x64"
enable_nacl = false
remove_webcore_debug_symbols = true
is_chrome_branded = true
is_clang = true
dcheck_always_on = true
(2) compile chrome
(3)
What is the expected result?
no warnings
What happens instead?
warnings shown:
ninja: Entering directory `out\default'
[1/1] Regenerating ninja files
[237/26285] CXX obj/third_party/unrar/unrar/unicode.obj
../../third_party/unrar/src/unicode.cpp(302,17): warning: result of comparison of constant 65536 with expression of type 'const wchar' (aka 'const wchar_t') is always true [-Wtautological-constant-out-of-range-compare]
if (*Src<0x10000)
~~~~^~~~~~~~
../../third_party/unrar/src/unicode.cpp(313,19): warning: result of comparison of constant 2097152 with expression of type 'const wchar' (aka 'const wchar_t') is always true [-Wtautological-constant-out-of-range-compare]
if (*Src<0x200000)
~~~~^~~~~~~~~
2 warnings generated.
[412/26285] CXX obj/third_party/unrar/unrar/strfn.obj
../../third_party/unrar/src/strfn.cpp(124,34): warning: cast to 'char *' from smaller integer type 'unsigned char' [-Wint-to-pointer-cast]
return (int)(LPARAM)CharLowerA((LPSTR)ch);
^
../../third_party/unrar/src/strfn.cpp(135,34): warning: cast to 'char *' from smaller integer type 'unsigned char' [-Wint-to-pointer-cast]
return (int)(LPARAM)CharUpperA((LPSTR)ch);
^
2 warnings generated.
Please use labels and text to provide additional information.
For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.
Comment 1 by wfh@chromium.org
, Jan 30 2018Owner: vakh@chromium.org
Status: Assigned (was: Untriaged)