[Bugs] [Bug 1369124] New: fix unused variable warnings from out-of-tree builds generate XDR headers and source files i...

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 22 14:11:26 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1369124

            Bug ID: 1369124
           Summary: fix unused variable warnings from out-of-tree builds
                    generate XDR headers and source files i...
           Product: GlusterFS
           Version: mainline
         Component: core
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org, kkeithle at redhat.com,
                    ndevos at redhat.com
        Depends On: 1330604



Created attachment 1192946
  --> https://bugzilla.redhat.com/attachment.cgi?id=1192946&action=edit
build wlog with unused variable warnings

+++ This bug was initially created as a clone of Bug #1330604 +++

Description of problem:

the current xdrgen/rpcgen build adds pragmas to the rpc/xdr header files which
"leak," masking a large number of warnings outside the rpc/xdr sources.

Once the pragma "leakage" is eliminated, then attempts to build will fail our
smoke tests where compile warnings are treated as errors.

In order to be able to sumit http://review.gluster.org/14085 (for 
https://bugzilla.redhat.com/show_bug.cgi?id=1330604) all those warnings need to
be eliminated.

See attached compile log with the warnings. You won't actually see the warnings
until http://review.gluster.org/14085 is applied.

Actual results:


Expected results:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1330604
[Bug 1330604] out-of-tree builds generate XDR headers and source files in
the original directory
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list