Date: Wed, 24 Jul 2013 08:48:29 +0100 From: David Laight <da...@l8s.co.uk>
On Wed, Jul 24, 2013 at 03:47:07AM +0000, Taylor R Campbell wrote: > Kludge around max as a local variable in intel_panel.c. Possibly adding a #define for max/min before/after including the netbsd header that defines these as a function/define would solve this in the wrapper headers? I'd be worried about identifying all cases of this everywhere the header file gets included. Another way would be to use -Wno-shadow for this file (and the others). I'll deal with this better when I do a pass over the external code to remove needless provisional #ifdefs (of which there are far too many already, oops).