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

Issue 405723002: win: Do not add directories already in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLU…

Created:
6 years, 5 months ago by Nico
Modified:
6 years, 5 months ago
Reviewers:
scottmg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

win: Do not add directories already in %INCLUDE% to msvs_system_include_dirs. clang-cl honors INCLUDE and treats it as system include directory, but if the same directory is also included through -I that apparently overwrites the system-ness. So don't add INCLUDE directories in gyp, so that warnings in them aren't printed. Should fix over 1900 -Wextern-initializer warnings on the clang/win bot. Depends on a new toolchain package that's built with https://codereview.chromium.org/393233004/ applied. BUG=395405

Patch Set 1 #

Patch Set 2 : hmm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M build/common.gypi View 1 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
scottmg
I think this is probably fine these days, these were mostly for VS-based-builds. Or it ...
6 years, 5 months ago (2014-07-18 23:06:36 UTC) #1
Nico
On 2014/07/18 23:06:36, scottmg wrote: > I think this is probably fine these days, these ...
6 years, 5 months ago (2014-07-18 23:10:06 UTC) #2
scottmg
Darn. Yeah, it would appear I did not put 'winrt' into depot_tools\win_toolchain\vs2013_files\win8sdk\bin\SetEnv.cmd.
6 years, 5 months ago (2014-07-18 23:31:54 UTC) #3
Nico
On 2014/07/18 23:31:54, scottmg wrote: > Darn. Yeah, it would appear I did not put ...
6 years, 5 months ago (2014-07-18 23:32:35 UTC) #4
scottmg
On 2014/07/18 23:32:35, Nico (away) wrote: > On 2014/07/18 23:31:54, scottmg wrote: > > Darn. ...
6 years, 5 months ago (2014-07-18 23:40:52 UTC) #5
Nico
On 2014/07/18 23:40:52, scottmg wrote: > On 2014/07/18 23:32:35, Nico (away) wrote: > > On ...
6 years, 5 months ago (2014-07-18 23:41:28 UTC) #6
Nico
6 years, 5 months ago (2014-07-18 23:46:09 UTC) #7
https://codereview.chromium.org/393233004/ adds it to the depot_tools script, I
think.

Powered by Google App Engine
This is Rietveld 408576698