Is there any compiler directives to control pointer arithmetic directly, or to turn on/off the cast-align warning "cast increases required alignment of target type"?
Currently I can use the $X to allows pointer arithmetic, but what else does that allow? Currently I use:
{$no-typed-address,X+,no-ignore-function-results}
but I worry about what other things like ignore-function-results $X+ ,might be "giving" me.
Also, I'd like to be able to disable the cast-align warning in specific places, but I couldn't find a compiler directive to control that - is there any way to feed them through to gcc?
Thanks, Peter.