FWIW, in for gcc10 in Fedora we had to make these changes (not yet in our code base): https://src.fedoraproject.org/rpms/open-vm-tools/blob/master/f/gcc10-warning.patch .