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

specify inline related attribute for Oracle Studio compiler #484

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

vladak
Copy link
Contributor

@vladak vladak commented Sep 16, 2024

This change avoids warning/error when compiling with Oracle Studio by adding appropriate attributes for the inline enforcement. The __SUNPRO_C internal define is documented in the Studio compiler man page for the cc command. The attribute values themselves are documented in https://docs.oracle.com/cd/E77782_01/pdf/E77788.pdf (section 2.10)

While the __SUNPRO_C define has a distinct value for every version, for this change I am assuming fairly modern version, i.e. 12.x, so the value is not checked. Let me know if that's okay.

@msprotz
Copy link
Contributor

msprotz commented Sep 16, 2024

Great! Thanks so much, this will trickle down into HACL* automatically at the end of the week.

@msprotz msprotz merged commit 8ea29fc into FStarLang:master Sep 16, 2024
1 check passed
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