[Xcb] Patch for compiler warnings in util-image

Arnaud Fontaine arnaud at andesi.org
Fri Aug 23 01:04:32 PDT 2013


Hi,

Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> Note that in the past, OpenBSD required fixing these warnings since they still
> built with gcc 2.95 on some platforms.   They very recently completed migrating
> those platforms to gcc 3.4, and thus don't require these fixes any more, so it's
> now just down to projects code style guidelines whether to fix them or accept
> them.
>
> https://twitter.com/mherrb/status/365966572700971009

Good to know, thanks! Does this mean -Wdeclaration-after-statement can
be removed from util/macros/xorg-macros.m4.in then? From my
understanding, AC_PROG_CC_C99 is already the default, so this should not
be an issue to remove this flag, right?

Cheers,
-- 
Arnaud Fontaine


More information about the Xcb mailing list