[Bugs] [Bug 1291890] New: bd_xlator gets disabled when compiled with -Wall and -Werror

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 15 19:45:57 UTC 2015


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

            Bug ID: 1291890
           Summary: bd_xlator gets disabled when compiled with -Wall and
                    -Werror
           Product: GlusterFS
           Version: mainline
         Component: build
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

When configure is run with -Wall and -Werror, bd_xlator is not enabled.

AC_CHECK_LIBS fails because gcc converts a warning into a error.
The exact message from gcc is:

conftest.c: In function 'main':
conftest.c:55:16: error: left-hand operand of comma expression has no effect
[-Werror=unused-value]
 return lvm_init,lvm_lv_from_name ();

-- 
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