>>108582475
>>108582836
Some static checking of array parameters is possible by adding the size
void f(int x[4])
{
return;
}
int x[] = {1, 2, 3};
f(x);
warning: ‘f’ accessing 16 bytes in a region of size 12
7 | f(x);
| ^~~~
note: referencing argument 1 of type ‘int[4]’
note: in a call to function ‘f’
Comment too long. Click here to view the full text.