VMware Communities
Mirraz
Contributor
Contributor

vmware-modules (for linux) compilation warnings

Building vmware-modules for linux from VMware-Player-6.0.0-1295980.x86_64 by gcc-4.8.2 I'v got this compilation warnings:

vmnet-only/hub.c:132:49: warning: argument to ‘sizeof’ in ‘memcmp’ call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]

vmnet-only/hub.c:315:36: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘uint8 *’ as the destination; expected ‘uint8’ or an explicit length [-Wsizeof-pointer-memaccess]

0 Kudos
0 Replies