Re: [Mesa-dev] [PATCH] i965: Shut up major()/minor() warnings.

2017-03-21 Thread Kenneth Graunke
On Monday, March 20, 2017 9:23:55 PM PDT Jonathan Gray wrote: > On Mon, Mar 20, 2017 at 04:05:04PM -0700, Kenneth Graunke wrote: > > Recent glibc generates this warning: > > > > brw_performance_query.c:1648:13: warning: In the GNU C Library, "minor" is > > defined > > by . For historical

Re: [Mesa-dev] [PATCH] i965: Shut up major()/minor() warnings.

2017-03-20 Thread Jonathan Gray
On Mon, Mar 20, 2017 at 04:05:04PM -0700, Kenneth Graunke wrote: > Recent glibc generates this warning: > > brw_performance_query.c:1648:13: warning: In the GNU C Library, "minor" is > defined > by . For historical compatibility, it is > currently defined by as well, but we plan to > remove

Re: [Mesa-dev] [PATCH] i965: Shut up major()/minor() warnings.

2017-03-20 Thread Matt Turner
Yep, lots of patches like this in Gentoo. Acked-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] i965: Shut up major()/minor() warnings.

2017-03-20 Thread Kenneth Graunke
Recent glibc generates this warning: brw_performance_query.c:1648:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a