[Top][All Lists]

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

Re: grep-2.9.69-f91c on MSVC 9

From: Jim Meyering
Subject: Re: grep-2.9.69-f91c on MSVC 9
Date: Fri, 11 Nov 2011 22:18:04 +0100

Bruno Haible wrote:
>> * MSVC 9
>> Compilation failure:
> Once this compilation failure is fixed, more compilation failures
> (due to syntax errors) occur in
>   dfa.c:822
>   dfa.c:3426
>   kwsearch.c:43
>   kwsearch.c:110
>   main.c:2146
> It's an ISO C99 vs. ANSI C issue (declaration after statement).

Hi Bruno,

Thanks for the report, but I am very reluctant to change
grep's sources to accommodate compilers that do not support
decl-after-stmt.  If enough people lobby for it, I might
maintain a c99-to-c89.diff patch.

> Also, in pcresearch.c the definition of Pexecute does not have the same
> declspecs as the declaration in search.h:54. A similar fix as for
> obstack.c should work.

Can you post a patch?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]