https://bugs.winehq.org/show_bug.cgi?id=38337
--- Comment #14 from Sergey Isakov isakov-sl@bk.ru --- /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/dlls/kernel32/file.c:2193:49: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] dir_info->FileName[0] == '.' && dir_info->FileName[1] == '.') continue; ^ ~ /Volumes/MacHD/Users/sergey/Documents/Projects/winehq/include/winternl.h:551:5: note: array 'FileName' declared here WCHAR FileName[ANYSIZE_ARRAY]; ^ ---------------------------------
Something like dynamic array size? Make a pointer instead of array.