g++-5.4.0 -MMD -MF tools/gn/xcode_writer.o.d -I/x/portage/www-client/chromium-57.0.2979.0/work/temp /tmpMqnwLa/gen -I/x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0 -O2 -pipe -mar ch=amdfam10 -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MA CROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -O2 -pipe -march=amdfam10 -fno-delete-nul l-pointer-checks -std=c++11 -Wno-c++11-narrowing -c /x/portage/www-client/chromium-57.0.2979.0/work/ chromium-57.0.2979.0/tools/gn/xcode_writer.cc -o tools/gn/xcode_writer.o /x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc: In fu nction ‘void {anonymous}::SearchXCTestFiles(const Target*, {anonymous}::TargetToFileList*)’: /x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc:173:29 : error: use of ‘target’ before deduction of ‘auto’ for (const auto& target : target->public_deps()) { ^ /x/portage/www-client/chromium-57.0.2979.0/work/chromium-57.0.2979.0/tools/gn/xcode_writer.cc:181:29 : error: use of ‘target’ before deduction of ‘auto’ for (const auto& target : target->private_deps()) { ^ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-c++11-narrowing’
Sent upstream for review. https://codereview.chromium.org/2632113003/
Resolved in 57.0.2986.0.