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?
