Re: [Mesa-dev] [PATCH] ralloc: Annotate printf functions with PRINTFLIKE(...)

2012-10-29 Thread Ian Romanick
On 10/29/2012 02:41 PM, Kenneth Graunke wrote: On 10/24/2012 01:03 PM, Ian Romanick wrote: On 10/24/2012 12:15 PM, Matt Turner wrote: Catches problems such as (in the gles3 branch) glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration': glcpp-parse.y:1990:39: warning: format '%l

Re: [Mesa-dev] [PATCH] ralloc: Annotate printf functions with PRINTFLIKE(...)

2012-10-29 Thread Kenneth Graunke
On 10/24/2012 01:03 PM, Ian Romanick wrote: On 10/24/2012 12:15 PM, Matt Turner wrote: Catches problems such as (in the gles3 branch) glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration': glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type 'long long int'

Re: [Mesa-dev] [PATCH] ralloc: Annotate printf functions with PRINTFLIKE(...)

2012-10-24 Thread Ian Romanick
On 10/24/2012 12:15 PM, Matt Turner wrote: Catches problems such as (in the gles3 branch) glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration': glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat

[Mesa-dev] [PATCH] ralloc: Annotate printf functions with PRINTFLIKE(...)

2012-10-24 Thread Matt Turner
Catches problems such as (in the gles3 branch) glcpp-parse.y: In function '_glcpp_parser_handle_version_declaration': glcpp-parse.y:1990:39: warning: format '%lli' expects argument of type 'long long int', but argument 4 has type 'int' [-Wformat] As a side-effect, remove ralloc.c's likely