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

Fixing compiling error #48

Closed
wants to merge 0 commits into from
Closed

Fixing compiling error #48

wants to merge 0 commits into from

Conversation

Arbars
Copy link

@Arbars Arbars commented Aug 2, 2022

In the beginning of compilation as a part of Tsugaru, the process crashes with "Some warnings being treated as errors" message.

@captainys
Copy link
Owner

Thank you for finding it! I just forgot returning a value from that function as you found.

But, the function was supposed to return true or false. If you return write as a return value, it is a function pointer, and since it is non-null, the compiler will end up returning true. But, I rather return true.

I fixed it on my side. Please check out and see it compiles in your environment.

Thanks!

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