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 a proxy to include windows.h to avoid having it polluting everything #499

Open
3 tasks
SuperFola opened this issue Oct 12, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@SuperFola
Copy link
Member

Is your feature request related to a problem?

Including windows.h is like including a virus, it goes everywhere and causes problems with std::min and std::max by defining macros with those names.

Describe the solution you would like

It would be interesting to see the approach described in https://aras-p.info/blog/2018/01/12/Minimizing-windows.h/ to avoid this pollution and make developing on Windows much better.

Is it a big modification to the language? Leave it if you don't know

  • Breaking change
  • Compiler/syntax modifications
  • Runtime modifications (standard library, modules, packages...)
@SuperFola SuperFola added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant