You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
"using namespace std;" in farmhash.cc causes the following error:
you should remove the "using namespace std" from the source code.
lib/hash/farmhash.cc:2006:14: error: reference to 'data' is ambiguous
memcpy(data + i, &u, 1); // uint8_t -> char
^
lib/hash/farmhash.cc:1990:13: note: candidate found by name lookup is 'data'
static char data[kDataSize];
^
/scratch-nvme/saito/bazel/_bazel_ysaito/e1a7c710473372ee150f48ad758734b2/external/grail_toolchain/include/c++/v1/iterator:1876:22: note: candidate found by name lookup is 'std::__1::data'
constexpr const _Ep* data(initializer_list<_Ep> __il) noexcept { return __il.begin(); }
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
"using namespace std;" in farmhash.cc causes the following error:
you should remove the "using namespace std" from the source code.
lib/hash/farmhash.cc:2006:14: error: reference to 'data' is ambiguous
memcpy(data + i, &u, 1); // uint8_t -> char
^
lib/hash/farmhash.cc:1990:13: note: candidate found by name lookup is 'data'
static char data[kDataSize];
^
/scratch-nvme/saito/bazel/_bazel_ysaito/e1a7c710473372ee150f48ad758734b2/external/grail_toolchain/include/c++/v1/iterator:1876:22: note: candidate found by name lookup is 'std::__1::data'
constexpr const _Ep* data(initializer_list<_Ep> __il) noexcept { return __il.begin(); }
The text was updated successfully, but these errors were encountered: