[Mesa-dev] [Bug 40028] New: warnings in glapitemp.h for glapi dispatch table return types

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 11 16:29:40 PDT 2011


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

           Summary: warnings in glapitemp.h for glapi dispatch table
                    return types
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: evan at chromium.org


We encounter these warnings in the Chrome build.

In file included from third_party/mesa/MesaLib/src/mapi/glapi/glapi_nop.c:142:
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h: In function
'NoOpGetString':
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h:1462: warning:
return makes pointer from integer without a cast
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h: In function
'NoOpMapBuffer':
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h:3392: warning:
return makes pointer from integer without a cast
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h: In function
'NoOpMapBufferARB':
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h:3397: warning:
return makes pointer from integer without a cast
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h: In function
'NoOpMapBufferRange':
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h:3907: warning:
return makes pointer from integer without a cast
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h: In function
'NoOpFenceSync':
third_party/mesa/MesaLib/src/mapi/glapi/glapitemp.h:3937: warning:
return makes pointer from integer without a cast

This is as a result of using the same No-op function for all return types.


See downstream bug:
http://code.google.com/p/chromium/issues/detail?id=92568

-- 
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