On Mon, Oct 10 2016, Ian Abbott wrote:
> If the first parameter of container_of() is a pointer to a
> non-const-qualified array type, the local variable __mptr will be
> defined with a const-qualified array type. In ISO C, these types are
> incompatible. They work as expected in GNU C, but some v
If the first parameter of container_of() is a pointer to a
non-const-qualified array type, the local variable __mptr will be
defined with a const-qualified array type. In ISO C, these types are
incompatible. They work as expected in GNU C, but some versions will
issue warnings. For example, GCC
2 matches
Mail list logo