> On Sun, Jan 29, 2012 at 9:24 PM, Rocky Bernstein <rocky@gnu....> wrote:
> > On Sun, Jan 29, 2012 at 12:46 PM, Pete Batard <pbatard@gmai...> wrote:
> >> This one is fairly straightforward, but I'll sent it to the list
> >> nonetheless.
> >> The issue here is that when not compiling a C++, MSVC compilers do not
> >> accept variables to be defined after code, and the MMC_CMD_SETUP() macro
> >> does define a cdb variable.
> > Yes, the intention is have all declarations in a come before statements
> > C99 wants. So thanks. It is possible I'll merge this into trunk sooner
> > the rest.
> I think you mean C89 or C90.
Yes. Thanks for the correction.
> C99 added support for inter-mingled
> statements and declarations. This brings up an important point. MSVC
> does not support C99 and Microsoft has no stated plans to support it.
> That was one reason I chose not to support MSVC in my own ripper. I
> was taking advantage of some C99 features and the trade-off of
> removing them to support MSVC was not worth it, for my project.