Skip to content

Fix auto type deduction failures when var name is an existing type name #1447

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

Closed
wants to merge 3 commits into from

Conversation

chuckatkins
Copy link
Contributor

This is the continuation of #1431 and fixes #1381.

While this does address the PGI type deduction issues, pybind11 still won't correctly build with PGI without #1428.

@chuckatkins
Copy link
Contributor Author

chuckatkins commented Jul 5, 2018

Note that once #1428 is merged I'll rebase this and it should be ready to go.

@jagerman
Copy link
Member

Have you reported this bug to PGI? We can work around it, of course, but it's definitely a compiler bug.

@wjakob
Copy link
Member

wjakob commented Jun 11, 2019

Hi @chuckatkins,

I've merged the first commit (a899dd0). The second (Utilize CMake's language standards abstraction when possible) is superseded by a larger PR that is still in the queue.

Regarding the third (work around PGI compiler bugs by making changes throughout pybind11) -- sorry, no :(. If this was one of the major 3 (GCC, Clang, MSVC), I would be more open to this sort of thing.

Best,
Wenzel

@wjakob wjakob closed this Jun 11, 2019
@ax3l
Copy link
Collaborator

ax3l commented Jun 14, 2019

@chuckatkins can you confirm PGI 18.7+ fixed the compiler bug?

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 this pull request may close these issues.

Unable to compile with PGI C++ due to auto deduction failures
4 participants