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

Compile failure due to unconditional use of if-defed my_realloc_ALGD #7

Open
Flamefire opened this issue Feb 20, 2020 · 1 comment
Open

Comments

@Flamefire
Copy link

There is an my_realloc_ALGD overload that takes unsigned values at

template <typename Template_type> void my_realloc_ALGD(Template_type* restrict__* pointer, unsigned size, unsigned& used_size);
which is not available if SYSTEM_WITH_64BIT is not defined:
#if defined (SYSTEM_WITH_64BIT)

However that overload is always used:

my_realloc_ALGD(&alpha_ALGD, training_set_size, used_size);
with used_size being and unsigned value:
unsigned used_size;

Please fix that

@terjekv
Copy link

terjekv commented Sep 2, 2020

Adding __aarch64__ to the flags as per what @Flamefire did for PowerPC allows for liquidSVM to build on aarch64.

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