Exclude more rarely-used stuff from Windows headers#8513
Conversation
New misspellings found, please review:
To accept these changes, run the following commands✏️ Contributor please read thisBy default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The :check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
|
|
Oh goodness. Let's list out what these actually do.
Now let's list out if any Terminal/Console project has used them.
Then my feeling on this:
So overall... I think I'd be fine with blocking out:
But I think all the rest are going to get us into a future difficult-to-debug pitfall that's not worth it unless you can justify it with some sort of improvement metrics. |
|
I actually have the same concern that it will “get us into a future difficult-to-debug pitfall ”. I’ll try to make this PR less aggressive. |
|
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
This PR defines a series of `NOSOMETHING` macros in PCHs, in order to prevent `windows.h` from bringing a lot of rarely used things into the project. Theoretically this should make PCH generation and overall complication faster, but I didn't really benchmark the speed. Another benefit would be reducing the symbol noises caused by `windows.h`.
This PR defines a series of
NOSOMETHINGmacros in PCHs, in order toprevent
windows.hfrom bringing a lot of rarely used things into theproject.
Theoretically this should make PCH generation and overall complication
faster, but I didn't really benchmark the speed.
Another benefit would be reducing the symbol noises caused by
windows.h.