https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67872
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to comment #1) Based on bug 41935 it looks like the offsetof warning is suppressed intentionally when the array is the last element of a struct.