Bug 40028 - warnings in glapitemp.h for glapi dispatch table return types
Summary: warnings in glapitemp.h for glapi dispatch table return types
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 16:29 UTC by Evan Martin (Chromium)
Modified: 2018-04-13 11:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Evan Martin (Chromium) 2011-08-11 16:29:40 UTC
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
Comment 1 Timothy Arceri 2018-04-13 11:18:59 UTC
Upstream bug is marked as fixed so closing this too.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.