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

Infinite recursion in core.h when __cplusplus defined #5

Closed
k06a opened this issue Oct 9, 2016 · 0 comments
Closed

Infinite recursion in core.h when __cplusplus defined #5

k06a opened this issue Oct 9, 2016 · 0 comments

Comments

@k06a
Copy link
Contributor

k06a commented Oct 9, 2016

Looks like line #290 in core.h contains infinite recursion cycle, isn't it? This line produces following warning:

libMachO/libMachO/Core/core.h:290:57: All paths through this function will call itself

core.h:290

uint8_t* swap (uint8_t *input, size_t length) const { return swap(input, length); }
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