#108 open-vm-tools fails to build with GCC 4.6 or later

closed-fixed
nobody
None
9
2011-07-20
2011-07-18
Nate Muench
No

Your newer unstable version of open-vm-tools fails to build against GCC 4.6.0 or later because of this: -Werror=unused-but-set-variable

The following files (located in the root of the open-vm-tools-2011.06.27-437995 folder) are affected, and need to be adapted to compile properly with GCC 4.6.0:
lib/file/
fileStandAlone.c:223:17: error: variable 'pathLen' set but not used

lib/hgfsServer/
hgfsServer.c:4088:18: error: variable 'handle' set but not used

lib/hgfsServerManagerGuest/
hgfsChannelGuestBd.c:596:19: error: variable 'packetOut' set but not used

lib/misc/
vthreadBase.c:965:23: error: variable 'key' set but not used
vthreadBase.c:961:9: error variable 'result' set but not used

lib/rpcIn/
rpcin.c:569:17: error: variable 'current' set but not used
rpcin.c:568:9: error: variable 'resched' set but not used

lib/slashProc/
net.c:857:11: error: variable 'nmatched' set but not used

lib/string/
bsd_vsnprintf.c:1455:8: error: variable 'width' set but not used

lib/string/
bsd_vsnwprintf.c:1300:8: error: variable 'width' set but not used

libvmtools/
vmtools.c:86:9: error: variable 'success' set but not used

services/plugins/vix/
vixTools.c:5409:8: error: variable 'lastGoodNumFiles' set but not used
vixTools.c:5844:9: error: variable 'posixAttributeSpecified' set but not used

xferlogs/
xferlogs.c:167:16: error: variable 'state' set but not used

Discussion

  • Nate Muench

    Nate Muench - 2011-07-18
    • priority: 5 --> 9
     
  • Anonymous - 2011-07-20

    This is fixed in the last release.

     
  • Anonymous - 2011-07-20
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks