Cyclonecat / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gflags build error on llvm for windows #513

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
set GYP_DEFINES=buildtype=Official clang=1 target_arch=ia32 libyuv_enable_svn=1
python gyp_libyuv -fninja -Gconfig=Debug libyuv_test.gyp
ninja -d keeprsp -v -C out\Release

gtest isnt building on lexan for me
n file included from ..\..\third_party\gflags\src\gflags.cc:112:
..\..\third_party\gflags\src/mutex.h(352,17) :  error: using namespace 
directive in global context in header [-Werror,-Wheader-hygiene]
using namespace MUTEX_NAMESPACE;
               ^
..\..\third_party\gflags\src/mutex.h(158,25) :  note: expanded from macro 
'MUTEX_NAMESPACE'
#define MUTEX_NAMESPACE gflags_mutex_namespace
                       ^
1 error generated.
[125/163] CXX obj\testing\gtest\src\gtest.gtest.obj

    kjellander@chromium.org, jbudorick@chromium.org

vars = {
  # Override root_dir in your .gclient's custom_vars to specify a custom root
  # folder name.
  'root_dir': 'libyuv',
  'extra_gyp_flag': '-Dextra_gyp_flag=0',
  'chromium_git': 'https://chromium.googlesource.com',

  # Roll the Chromium Git hash to pick up newer versions of all the
  # dependencies and tools linked to in setup_links.py.
  'chromium_revision': 'ec6107434ebf366554bb2af162d602ff34d480c1',
}

# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
# https; the latter can cause problems for users behind proxies.
deps = {
  Var('root_dir') + '/third_party/gflags/src':
    Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82
}

Original issue reported on code.google.com by fbarch...@chromium.org on 23 Oct 2015 at 6:51

GoogleCodeExporter commented 8 years ago
https://codereview.chromium.org/1427643003

Original comment by fbarch...@chromium.org on 27 Oct 2015 at 11:37

GoogleCodeExporter commented 8 years ago
fixed in r1527

Original comment by fbarch...@chromium.org on 28 Oct 2015 at 6:01