I'm trying to use alignas in something like:
#include "stdalign.h"
alignas(8) uint8_t tiles[][8] = {...
with compiler zcc +zx -vn -startup=1 -clib=sdcc_iy...
And I got : error 216: invalid alignment specified: 8
Any help about how can I use it?
alignas
Re: alignas
alignas is implemented by SDCC - it's value however can only be 0 or 1 - see mailing list over on sourceforge.
And even for alignas, SDCC does AFAIK currently not support alignment
other than 0 or 1.