https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87192
--- Comment #7 from Rich Felker <bugdal at aerifal dot cx> --- Nope. If the array is not in a struct, the warning works, e.g. void bar(void *); void foo() { int a[10]; bar(a+12); }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87192
--- Comment #7 from Rich Felker <bugdal at aerifal dot cx> --- Nope. If the array is not in a struct, the warning works, e.g. void bar(void *); void foo() { int a[10]; bar(a+12); }