Skip to content

Remove dllexport attribute on variable definition. #20833

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

Merged
merged 2 commits into from
Mar 26, 2025
Merged

Conversation

zhangskz
Copy link
Member

It is unnecessary and seems to be confusing MinGW into thinking it is a definition with internal linkage.

Fixes #20822

PiperOrigin-RevId: 740418802

Cherry-pick of 9ca6f88

It is unnecessary and seems to be confusing MinGW into thinking it is a
definition with internal linkage.

Fixes #20822

PiperOrigin-RevId: 740418802
Copy link
Contributor

@honglooker honglooker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backport approved.

@zhangskz zhangskz merged commit 7831669 into 30.x Mar 26, 2025
208 checks passed
@zhangskz zhangskz deleted the cp-mingw-extern branch March 26, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants