fixinc patch from 5 years ago :-O !!
H.J. Lu
hjl.tools@gmail.com
Sat Feb 28 21:02:00 GMT 2009
On Sat, Feb 28, 2009 at 10:10 AM, Bruce Korb <bruce.korb@gmail.com> wrote:
> It seems Alpha's compiler can cope with a missing semi-colon.
> GCC can't. To be applied to top of tree momentarily.
>
> Index: tests/base/net/if.h
> ===================================================================
> --- tests/base/net/if.h (revision 0)
> +++ tests/base/net/if.h (revision 0)
> @@ -0,0 +1,14 @@
> +/* DO NOT EDIT THIS FILE.
> +
> + It has been auto-edited by fixincludes from:
> +
> + "fixinc/tests/inc/net/if.h"
> +
> + This had to be done to correct non-standard usages in the
> + original, manufacturer supplied header file. */
> +
> +
> +
> +#if defined( ALPHA_IF_SEMICOLON_CHECK )
> + struct sockaddr vmif_paddr; /** protocol address */
> +#endif /* ALPHA_IF_SEMICOLON_CHECK */
> Index: inclhack.def
> ===================================================================
> --- inclhack.def (revision 144486)
> +++ inclhack.def (working copy)
> @@ -563,6 +563,19 @@
>
>
> /*
> + * Fix missing semicolon on Alpha OSF/4 in <net/if.h>
> + */
> +fix = {
> + hackname = alpha_if_semicolon;
> + files = net/if.h;
> + select = "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
> + c_fix = format;
> + c_fix_arg = "struct sockaddr vmif_paddr;\t/*";
> + test_text = ' struct sockaddr vmif_paddr /* protocol address */';
> +};
> +
> +
> +/*
> * Remove erroneous parentheses in sym.h on Alpha OSF/1.
> */
> fix = {
>
ChangeLog entry is missing.
--
H.J.
More information about the Gcc-patches
mailing list