mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
gflags has a build warning in the chromium version.
../../third_party/gflags/src/gflags.cc:281:53: error: unused typedef 'true_false_equal' [-Werror,-Wunused-local-typedef]
COMPILE_ASSERT(sizeof(kTrue) == sizeof(kFalse), true_false_equal);
^
1 error generated.
[8/231] CXX obj/chromium/src/testing/gtest/src/gtest.gtest.o
Its been reported and fixed upstream
https://github.com/gflags/gflags/issues/125
But not pulled into chromium. Last update to flags was in 2013.
This change disables the warning.
R=harryjin@google.com, kjellander@chromium.org, jkellander@chromium.org
BUG=libyuv:536, webrtc:5397, webrtc:5398, webrtc:5399
Review URL: https://codereview.chromium.org/1581123002 .
|
||
|---|---|---|
| .. | ||
| gen | ||
| BUILD.gn | ||
| gflags.gyp | ||
| LICENSE | ||
| README.libyuv | ||
URL: http://code.google.com/p/gflags/ Version: 2.0 License: New BSD License File: LICENSE Description: The gflags package contains a library that implements commandline flags processing. As such it's a replacement for getopt(). It has increased flexibility, including built-in support for C++ types like string, and the ability to define flags in the source file in which they're used. Local Modifications: None How to update platform configuration files: The gen/ directory contains pre-generated configuration header files. Historically, all operating systems and architectures have generated similar configurations except for Windows. This is why there's only posix and win directories below gen/. When rolling gflags to a newer version, it's a good idea to check if new configuration files needs to be generated as well. Do this by running ./configure in the newly checked out version of gflags. Then diff the generated files with the ones below gen/. If you notice a diff, update the files with the updated ones. If you suspect platform dependend changes other than Windows, you'll have to checkout gflags on the other platforms as well and run ./configure there too.