[Mesa-dev] [PATCH 4/6] glx: Lift sending the MakeCurrent request to top-level code

Ian Romanick idr at freedesktop.org
Tue Nov 14 22:38:20 UTC 2017


On 11/14/2017 02:18 PM, Adam Jackson wrote:
> On Tue, 2017-11-14 at 14:03 -0800, Ian Romanick wrote:
> 
>>>  static void
>>>  indirect_unbind_context(struct glx_context *gc, struct glx_context *new)
>>>  {
>>
>> Mark the parameters UNUSED so that I don't get extra warnings. :)
> 
> How do I provoke these warnings in my own build?

I use -Wall -Wextra -Wunsafe-loop-optimizations -Werror=format-security
-Wno-sign-compare, but I think -Wunused (set by -Wall) is sufficient to
provoke this particular warning.

> - ajax



More information about the mesa-dev mailing list