[Mesa-dev] [Bug 30958] New: EGL pipe_i965.c uses inline sw_screen_wrap() without including inline_wrapper_sw_helper.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 18 04:49:28 PDT 2010


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

           Summary: EGL pipe_i965.c uses inline sw_screen_wrap() without
                    including inline_wrapper_sw_helper.h
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: palatis at gmail.com


src/gallium/targets/egl/pipe_i965.c calling sw_screen_wrap() without including
target-helpers/inline_wrapper_sw_helper.h cause installation on gentoo to fail
with "installation aborted due to poor programming practices".

the header file of the static inline function should be included before using
the function.

Solution:
add #include "target-helpers/inline_wrapper_sw_helper.h" to pipe_i965.c.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list