This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libelf/23884] error: ‘__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’: ‘const’ [-Werror=missing-attributes]


https://sourceware.org/bugzilla/show_bug.cgi?id=23884

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit a01938d584b91e747167bb4b3f30ec300c4d6e43
Author: Mark Wielaard <mark@klomp.org>
Date:   Fri Nov 16 09:27:00 2018 +0100

    libelf: Mark both fsize and msize with const attribute.

    GCC9 -Wmissing-attributes pointed out that although we alias the fsize
    and msize functions only fsize was marked as const. Fix by also marking
    the msize definition as const.

    https://sourceware.org/bugzilla/show_bug.cgi?id=23884

    Signed-off-by: Mark Wielaard <mark@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]