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

Remove some functions defined in _CRTBLD blocks #4005

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

achabense
Copy link
Contributor

Removes open(const unsigned short*,...) functions from the library.

These functions are defined in _CRTBLD blocks, and are not used elsewhere in the library.
The project can build successfully after their removal (or =delete them). The xxx.dll and msvcprt(d).lib files are unchanged.

Works towards #3941.

@achabense achabense requested a review from a team as a code owner September 3, 2023 03:49
@achabense
Copy link
Contributor Author

achabense commented Sep 3, 2023

=delete version for verification

@CaseyCarter CaseyCarter added the enhancement Something can be improved label Sep 5, 2023
@StephanTLavavej StephanTLavavej self-assigned this Sep 5, 2023
@StephanTLavavej
Copy link
Member

Looks good, thanks for noticing that this was possible! I verified that this doesn't affect the export surface so it should be completely safe to make this change.

@StephanTLavavej StephanTLavavej removed their assignment Sep 7, 2023
@StephanTLavavej StephanTLavavej self-assigned this Sep 13, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 069afb0 into microsoft:main Sep 14, 2023
37 checks passed
@StephanTLavavej
Copy link
Member

Thanks again for noticing and performing this cleanup! 🧹 🧹 🪄

@achabense achabense deleted the _CRTBLD_cleanups3 branch September 16, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants