Hello,
the warning is from this function (stdlib.h) :
#if __STDC_VERSION__ >= 201112L
inline void *aligned_alloc(size_t alignment, size_t size)
{
return malloc(size);
}
#endif
It indicates that
alignment is not used, you can ignore the warning.
If you want to totally remove this warning, use only cpctelera functions.
Replace :
rand()
with
cpct_rand()
And replace :
#include <stdio.h>
#include <stdlib.h>
with
#include <cpctelera.h>
That all
And more you have saved some bytes in your program because cpctelera functions are highly optimized for CPC