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

Update anagram to no longer undefine macros for character testing #60

Open
dtarditi opened this issue Jun 16, 2017 · 0 comments
Open

Update anagram to no longer undefine macros for character testing #60

dtarditi opened this issue Jun 16, 2017 · 0 comments

Comments

@dtarditi
Copy link
Contributor

On Linux, functions such as isalpha are turned into macros. The macros make function calls that return pointers to pointers to integers. We don't have enough functionality for Checked C implemented yet to annotate the functions called by those macros so that they can be used in checked code. As a work around, we undefined the macros in anagram so that the original library functions are called. When we do have enough functionality implemented, we should update the headers for Linux to annotate the functions called by the macros and undo the workaround in anagram.

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

No branches or pull requests

1 participant