On Fri, Apr 03, 2015 at 08:24:43PM -0400, David Turner wrote: > But I can see why git wouldn't want to depend on that behavior. C11 has > a way to do this safely, but AIUI, git doesn't want to move to C99 let > alone C11. So I guess this will just have to remain the way it is. I would really like to move to at least C99. However, MSVC bundles a C89 compiler and a C++ compiler, but Microsoft steadfastly refuses to bundle an actual C99 compiler, and Git doesn't even come close to compiling as C++. Newer versions of MSVC (2013 and newer) support enough of the features, though, that it might be possible. So it isn't as much of a "we don't want to move to C99" as much as "we aren't yet willing to drop support for older versions of MSVC". I don't use Windows, so I'm happy to drop support for MSVC 2012 and older, but others may have different opinions. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Attachment:
signature.asc
Description: Digital signature