Skip to content

Conversation

@colesbury
Copy link
Contributor

No description provided.

@colesbury
Copy link
Contributor Author

This one is a bit weird, but I'm seeing -Wvexing-parse warnings in some versions of nvcc. I'm not entirely sure what's happening, but I think that it's a combination of:

  • The void from PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void); is getting stripped out by nvcc's frontend
  • Clang is then giving a "most vexing parse" warning

I couldn't figure out any way to avoid this other than moving the declaration out of the function.

@vstinner vstinner merged commit e3efede into python:main Nov 7, 2025
36 checks passed
@vstinner
Copy link
Member

vstinner commented Nov 7, 2025

Merged, thanks.

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.

2 participants