Hi, if I want to define a 4byte aligned char array in C, then I typically would declare:
__align(4) char acBuf[20];
In C++, inside a class, this unfortunately fails (Error #328: invalid storage class for a class member).
Is there any way to enforce alignment for C++ class members?
... sorry about one error in my last post: structs of course would also handle such byte fields packed (without "pack" pragma) ... . So no reason to get red for the C++ compiler here :).