[Bugs] [Bug 1226307] Volume start fails when glusterfs is source compiled with GCC v5.1.1

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 1 08:56:31 UTC 2015


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11004 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit eeb356584897ff778ffcbacff1c71d35d277b726
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)

    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: 1226307
    Signed-off-by: Anoop C S <achiraya at redhat.com>
    Reviewed-on: http://review.gluster.org/11004
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    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