Re: [Mesa-dev] [PATCH] glsl: try again to fix PRIx64 / MinGW build problem

2016-11-13 Thread Ian Romanick
Does using stdint.h help? On 11/11/2016 07:48 AM, Brian Paul wrote: > inttypes.h doesn't always define the PRIx64 macro when compiling C++ > code with MinGW. For that case, simply define PRIx64 to be "lx". > This generates a format/argument type mismatch warning. And using > "llx" generates

Re: [Mesa-dev] [PATCH] glsl: try again to fix PRIx64 / MinGW build problem

2016-11-11 Thread Brian Paul
On 11/11/2016 09:03 AM, Jose Fonseca wrote: On 11/11/16 15:48, Brian Paul wrote: inttypes.h doesn't always define the PRIx64 macro when compiling C++ code with MinGW. For that case, simply define PRIx64 to be "lx". This generates a format/argument type mismatch warning. And using "llx"

Re: [Mesa-dev] [PATCH] glsl: try again to fix PRIx64 / MinGW build problem

2016-11-11 Thread Jose Fonseca
On 11/11/16 15:48, Brian Paul wrote: inttypes.h doesn't always define the PRIx64 macro when compiling C++ code with MinGW. For that case, simply define PRIx64 to be "lx". This generates a format/argument type mismatch warning. And using "llx" generates other warnings. Just live with it.

[Mesa-dev] [PATCH] glsl: try again to fix PRIx64 / MinGW build problem

2016-11-11 Thread Brian Paul
inttypes.h doesn't always define the PRIx64 macro when compiling C++ code with MinGW. For that case, simply define PRIx64 to be "lx". This generates a format/argument type mismatch warning. And using "llx" generates other warnings. Just live with it.