Newbie question.
I am trying to get libcork to compile with VS2010.
In C I guess you typically have to declare variables at the beginning of the function like this:
void
cork_hash_table_clear(struct cork_hash_table *table)
{
DEBUG("(clear) Removing all entries");
size_t i; // <--- fails to compile unless moved before DEBUG.
...
But libcork is rife with definitions/declarations as they are used in code. I wonder if there is a VS compiler option that allows this? I'm sorry if this question is not new, but all I get is a syntax error and I don't have any helpful terms to use to search the VS docs.