Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915



   Date: Wed, 24 Jul 2013 08:48:29 +0100
   From: David Laight <david%l8s.co.uk@localhost>

   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).


Home | Main Index | Thread Index | Old Index