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

Too few arguments to function `self->set_used' in bitmap.c #27

Closed
llamaking136 opened this issue Mar 8, 2021 · 1 comment
Closed

Too few arguments to function `self->set_used' in bitmap.c #27

llamaking136 opened this issue Mar 8, 2021 · 1 comment

Comments

@llamaking136
Copy link

While attempting to build emerald, I got this error:

../libraries/libk/bitmap.c:106:37: error: too few arguments to function call, expected 3, have 2
    if (self->set_used(block, length) == 0)
        ~~~~~~~~~~~~~~              ^
1 error generated.

I checked the usage of set_used in bitmap.h and is as follows:

size_t (*set_used)(size_t, size_t, struct bitmap_struct *);

Where is the third argument, or an alternate version of set_used?

In the meantime, I'll look for a non-permanent solution.

@rdmsr
Copy link
Owner

rdmsr commented Mar 8, 2021

Yes, it's possible, this part is still very WIP. So I recommend you to take a prebuilt image for now until I fix it.
Thanks for reporting an issue!

@rdmsr rdmsr closed this as completed Mar 8, 2021
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

2 participants