WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@r-barnes
Copy link
Contributor

At Meta we have -Wunused-variable and -Wunused-const-variable enabled for clang across our entire codebase. It'd be swell if PyCuda were able to enable similar warnings to prevent this kind of cruft from building up. I'm not sure what the most appropriate way to do that is, though.

Thanks for your good work!

@inducer
Copy link
Owner

inducer commented Sep 29, 2025

@inducer
Copy link
Owner

inducer commented Sep 29, 2025

Thanks for the patch! I'd be supportive of adding those flags. It might be good to switch over to scikit-build at the same time (since setuptools will eventually stop being a thing) to avoid duplication of effort.

@inducer inducer merged commit e38414b into inducer:main Sep 29, 2025
1 check passed
@r-barnes r-barnes deleted the richard branch September 30, 2025 17:47
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