C-langage standard: variables declaration

2010-05-12
2013-05-02
  • Grégory Jaegy
    Grégory Jaegy
    2010-05-12

    Hi,
    I have downloaded the latest 1.7.99-pre version, and tried to compile using VS2010.

    It reports many errors due to variables being declared in the middle of a function.

    Remember that according to the C-langage standard, they all should be declared first in any C function, before any other instruction.

    Could you eventually double check this point, and fix the files in the repository ? There aren't that many, but it might be a good idea !

    Cheers,
    Greg