Skip to content

When Clang defines _MSC_VER, prefer Clang versions of attribute macros #516

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 1 commit into from
Jun 17, 2023
Merged

When Clang defines _MSC_VER, prefer Clang versions of attribute macros #516

merged 1 commit into from
Jun 17, 2023

Conversation

jbatez
Copy link
Contributor

@jbatez jbatez commented Jun 17, 2023

WIthout this, compiling with Clang for Windows results in a lot of warning: unknown attribute 'forceinline' ignored [-Wunknown-attributes] warnings.

@hsutter
Copy link
Owner

hsutter commented Jun 17, 2023

Thanks, Jo!

@hsutter hsutter merged commit ff4c71a into hsutter:main Jun 17, 2023
@jbatez jbatez deleted the clang_windows_attributes branch June 18, 2023 16:53
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
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