Tracker item #3354213, was opened at 2011-07-05 03:53
Message generated for change (Settings changed) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3354213&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libraries
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Simon Rozman (rozmansi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compiling fails due to unused variables

Initial Comment:
I am getting numerous  errors while compiling open-vm-tools:
variable ‘xxx' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Build environment: Fedora 15, x86_64.

After some code fix-up I was able to compile everything except kernel modules. 
I am attaching a patch file, describing changes I made. I also suggest that 
function results should be tested using VERIFY macro (see Windows SDK, how 
VERIFY macro is defined). This would produce simpler code with less unused 
variables issues.

----------------------------------------------------------------------

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-07-05 11:24

Message:
Thanks for looking at this, but your patch is based off of the 8..4.x
stable branch, which is sort of old code. We don't have plans to update
that specific branch, so your best choice is to keep this as a private
patch you apply to your builds. The master branch has changed a lot since
the 8.4 days and I'd be surprised to find these issues there.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3354213&group_id=204462

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to