Re: [PATCH 4/8] xfree86: warning fix

2011-02-12 Thread Mark Kettenis
> From: Adam Jackson > Date: Sun, 23 Jan 2011 23:18:08 -0500 > > Did you know that anonymous enums with function scope will not only > override the enum values from global scope, but will be treated as > entirely different types? C's type system just rules. > > xf86Crtc.c: In function 'handle_d

[PATCH 4/8] xfree86: warning fix

2011-01-23 Thread Adam Jackson
Did you know that anonymous enums with function scope will not only override the enum values from global scope, but will be treated as entirely different types? C's type system just rules. xf86Crtc.c: In function 'handle_detailed_monrec': xf86Crtc.c:1555:33: warning: comparison between 'enum det_