-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug]: Compilation regression in version update: "...incomplete type 'absl::container_internal::HashEq..." #1745
Comments
With a little more digging, I don't need that level of templating to replicate the regression. The following does it too: im_replicate_test.cc
|
git bisect with this replication case points me to this commit which feels relevant as it looks like its a partial specialization of the HashEq struct which could have interfered with the ability to resolve the templating for my type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
I updated from 20240116.2 to 20240722.0 and had a compilation regression of previous code. There was some nontrivial template meta-programming involved, but the part that failed for me was around returning an absl::flat_hash_set from a method in a templated type Foo.
This commit documents my upgrade and the change I had to make, though it's a private repository, so I'm not sure how best to share that with you.
I stripped the problem down to a bare reproduction step that can exist as a super-simple bazel repository which I've included in reproduction steps. Bringing the version back in MODULES.bazel allows compilation. As does setting the #define I've included in the code which documents my current workaround for this regression.
The error messages I see are as follows
Steps to reproduce the problem
bazel test ...
With the following repository
MODULES.bazel
BUILD
im_replicate_test.cc
What version of Abseil are you using?
20240116.2 (works) 20240722.0 (doesn't)
What operating system and version are you using?
macos 14.6.1
What compiler and version are you using?
default with the os. I think that's clang.
clang -v
What build system are you using?
bazel --version -> bazel 7.3.0 (via alas bazelisk=bazel)
Additional context
No response
The text was updated successfully, but these errors were encountered: