On Thu, Mar 28, 2013 at 09:24:57 +1000, Peter Hutterer wrote: > The PointerBarrier typedef is duplicate if a client includes both Xfixes.h > and XInput2.h. > > gcc 4.6 won't complain about that, but earlier versions do: > http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 > > gcc 4.6 with -pedantic-errors shows: > /opt/xorg/include/X11/extensions/XInput2.h:172:13: error: redefinition of > typedef ‘PointerBarrier’ [-pedantic] > In file included from test.c:1:0: > /opt/xorg/include/X11/extensions/Xfixes.h:255:13: note: previous declaration > of ‘PointerBarrier’ was here > > Signed-off-by: Peter Hutterer <[email protected]>
Reviewed-by: Julien Cristau <[email protected]> Cheers, Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
