Skip to content

Adding fix for copy warning on clang 7 / macOS 10.14.4 - #1743

Closed
henryiii wants to merge 1 commit into
pybind:masterfrom
henryiii:henryiii-warning-macos10.14.4
Closed

Adding fix for copy warning on clang 7 / macOS 10.14.4#1743
henryiii wants to merge 1 commit into
pybind:masterfrom
henryiii:henryiii-warning-macos10.14.4

Conversation

@henryiii

Copy link
Copy Markdown
Collaborator

This occurs if you have a high level of warnings set. See https://reviews.llvm.org/D43322?id=134514.

@wjakob

Copy link
Copy Markdown
Member

That's actually a neat warning! Can you rebase this onto the latest master just to have CI run on it?

@henryiii

Copy link
Copy Markdown
CollaboratorAuthor

It’s really handy! I found a bug in my code with this warning (wrong return type). However, the CI runs on a recent clang and errors on warnings, so the fix is already in as part of the CI fix #1744.

@henryiiihenryiii closed this Apr 7, 2019
@henryiii

Copy link
Copy Markdown
CollaboratorAuthor

We need to try GCC 9 (still in beta, though) - it has a ton of new warnings and reporting features.

@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@henryiii@wjakob