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

Add support for Clang 16 #2747

Closed
externl opened this issue Sep 18, 2024 · 0 comments · Fixed by #2755
Closed

Add support for Clang 16 #2747

externl opened this issue Sep 18, 2024 · 0 comments · Fixed by #2755
Assignees
Milestone

Comments

@externl
Copy link
Member

externl commented Sep 18, 2024

Compiling with Clang 16 shipped with macOS Sequoia (15.0) gives some errors. There are likely more.

n file included from src/Ice/generated/Process.cpp:23:
include/Ice/OutgoingAsync.h:359:32: error: declaration shadows a local variable [-Werror,-Wshadow-uncaptured-local]
  359 |             _response = [this, response = std::move(response)](bool ok)
      |                                ^
include/Ice/OutgoingAsync.h:353:36: note: previous declaration is here
  353 |             std::function<void(R)> response,
      |                                    ^
include/Ice/OutgoingAsync.h:395:32: error: declaration shadows a local variable [-Werror,-Wshadow-uncaptured-local]
  395 |             _response = [this, response = std::move(response)](bool ok)
      |                                ^
...

See

@externl externl added this to the 3.8.0 milestone Sep 18, 2024
@externl externl self-assigned this Sep 20, 2024
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

Successfully merging a pull request may close this issue.

1 participant