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

Properly expose header files for float exceptions #963

Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Mar 14, 2021

After moving to Iex, properly expose header files so people can actually
use the floating point exception handling code.
Further, hide symbols that should be internal to the library

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

After moving to Iex, properly expose header files so people can actually
use the floating point exception handling code.
Further, hide symbols that should be internal to the library

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@@ -42,7 +42,7 @@ int fpExceptions ();
//------------------------------------------

extern "C" typedef void (* FpExceptionHandler) (int type, const char explanation[]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does extern "C" mean anything for a typedef?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had the same question. It was there, so I just left it, although I don't believe so, but I wasn't sure if it implied "nothrow" when in a C++ context, but is still a C function in a portable fashion?

Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

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

LGTM

@cary-ilm cary-ilm merged commit 7ec6fa3 into AcademySoftwareFoundation:master Mar 14, 2021
@cary-ilm cary-ilm added Build A problem with building or installing the library. v3.0.0-beta labels Mar 21, 2021
@kdt3rd kdt3rd deleted the add_missing_headers branch February 12, 2022 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build A problem with building or installing the library. v3.0.0-beta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants