[Mesa-dev] [Bug 103909] anv_allocator.c:113:1: error: static declaration of ‘memfd_create’ follows non-static declaration

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 26 08:27:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103909

            Bug ID: 103909
           Summary: anv_allocator.c:113:1: error: static declaration of
                    ‘memfd_create’ follows non-static declaration
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: krh at bitplanet.net

mesa: 0bd83d04612520ff97e21d41bcc3ad2e68e160df (master 17.4.0-devel)

  CC       vulkan/vulkan_libvulkan_common_la-anv_allocator.lo
vulkan/anv_allocator.c:113:1: error: static declaration of ‘memfd_create’
follows non-static declaration
 memfd_create(const char *name, unsigned int flags)
 ^~~~~~~~~~~~
In file included from /usr/include/bits/mman.h:45:0,
                 from /usr/include/sys/mman.h:41,
                 from vulkan/anv_allocator.c:29:
/usr/include/bits/mman-linux.h:125:5: note: previous declaration of
‘memfd_create’ was here
 int memfd_create (const char *__name, unsigned int __flags) __THROW;
     ^~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171126/1ce050fb/attachment-0001.html>


More information about the mesa-dev mailing list