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@lists.freedesktop.org ReportedBy: e...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev