Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error building due to refinition in abseil-cpp/absl/numeric/int128.cc #373

Open
ellenble opened this issue Mar 22, 2024 · 0 comments
Open

Comments

@ellenble
Copy link

Trying to do "cmake --build build":

/fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:141:9: error: redefinition of 'absl::lts_20211102::uint128 absl::lts_20211102::operator/(absl::lts_20211102::uint128, absl::lts_20211102::uint128)'
141 | uint128 operator/(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
In file included from /fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:15:
/projects/aue/cee/builds/x86_64/rhel7/ba17d7f2/anaconda3/install/linux-rhel7-x86_64/gcc-10.3.0/anaconda3-2023.09-0-bjae6p4/include/absl/numeric/int128.h:1005:16: note: 'absl::lts_20211102::uint128 absl::lts_20211102::operator/(absl::lts_20211102::uint128, absl::lts_20211102::uint128)' previously defined here
1005 | inline uint128 operator/(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
/fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:152:9: error: redefinition of 'absl::lts_20211102::uint128 absl::lts_20211102::operator%(absl::lts_20211102::uint128, absl::lts_20211102::uint128)'
152 | uint128 operator%(uint128 lhs, uint128 rhs) {
| ^~~~~~~~
In file included from /fgs/ele/bloaty/third_party/abseil-cpp/absl/numeric/int128.cc:15:
/projects/aue/cee/builds/x86_64/rhel7/ba17d7f2/anaconda3/install/linux-rhel7-x86_64/gcc-10.3.0/anaconda3-2023.09-0-bjae6p4/include/absl/numeric/int128.h:1010:16: note: 'absl::lts_20211102::uint128 absl::lts_20211102::operator%(absl::lts_20211102::uint128, absl::lts_20211102::uint128)' previously defined here
1010 | inline uint128 operator%(uint128 lhs, uint128 rhs) {
| ^~~~~~~~

Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant