[Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri May 4 17:08:07 CEST 2012
On Wed, May 2, 2012 at 10:43 AM, Larry Hastings <larry at hastings.org> wrote:
> Do we officially support any C compilers that *don't* permit "intermingled
> variable declarations and code"? Do we *unofficially* support any? And if
> we do, what do we gain?
This might be of interest:
http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/?nope
Specifically, apparently MSVC 2010 supports variable declarations in
the middle of a block in C.
Also, since full C99 support won't be coming to MSVC, perhaps Python
should move to compiling in C++ mode?
Cheers,
Dirkjan
More information about the Python-Dev
mailing list