[Bugs] [Bug 1226853] Volume start fails when glusterfs is source compiled with GCC v5.1.1
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jun 1 13:56:07 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1226853
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11030 committed in release-3.7 by Venky
Shankar (vshankar at redhat.com)
------
commit f266dc6be5b401a7a813adc958d978eb9207cd63
Author: Anoop C S <achiraya at redhat.com>
Date: Fri May 29 16:33:09 2015 +0530
features/changelog: Remove inline keyword to avoid warnings (gcc v5.1.1)
Backport of http://review.gluster.org/11004
When compiled with gcc5, following warnings were displayed
and volume start failed:
changelog-helpers.h:499:1: warning: inline function
'changelog_dispatch_event'
declared but never defined
changelog_dispatch_event (xlator_t *, changelog_priv_t *,
changelog_event_t *);
gf-changelog-journal-handler.c:692:17: warning: 'list_add_tail' is static
but
used in inline function 'gf_changelog_queue_journal' which is not static
list_add_tail (&entry->list, &jnl_proc->entries);
Fix is to remove the keyword from function prototype and
definitions.
Change-Id: I188b35b7ca087a94d7a48a052b05a6d845e3b74b
BUG: 1226853
Signed-off-by: Anoop C S <achiraya at redhat.com>
Reviewed-on: http://review.gluster.org/11030
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Venky Shankar <vshankar at redhat.com>
--
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