D8304: cext: move variable declaration to the top of the block for C89 support

Yuya Nishihara yuya at tcha.org
Fri Mar 20 15:17:25 UTC 2020


>   > -Wdeclaration-after-statement for gcc and maybe clang.
>   
>   Nice, any idea of how to make it verbosely complaining part of the test-suite ?

-Werror=declaration-after-statement will prevent the test from running at all.
I think setup.py can be adjusted to add some extra compiler options.



More information about the Mercurial-devel mailing list