TortoiseGitPLink: Fix compilation in debug configuration
commitbe58e6f597b270b687e3132267461fb3499414eb
authorJano Svitok <jsv@whitestein.com>
Tue, 15 Jan 2013 22:38:25 +0000 (15 23:38 +0100)
committerSven Strickroth <email@cs-ware.de>
Wed, 16 Jan 2013 08:24:30 +0000 (16 09:24 +0100)
treedb06efbe2ac1fd290bb12d81bcdf88ec75c8663d
parent5cba2724afb643a8f8bb3d464ea0a0ed513cd642
TortoiseGitPLink: Fix compilation in debug configuration

...\src\tortoiseplink\ssh.c(1216): error C2051: case expression not constant

Line 421 of ssh.c says:

 * In particular, if you are getting `case expression not constant'
 * errors when building with MS Visual Studio, this is because MS's
 * Edit and Continue debugging feature causes their compiler to
 * violate ANSI C. To disable Edit and Continue debugging:
 *
 *  - right-click ssh.c in the FileView
 *  - click Settings
 *  - select the C/C++ tab and the General category
 *  - under `Debug info:', select anything _other_ than `Program
 *    Database for Edit and Continue'.

Signed-off-by: Jano Svitok <jsv@whitestein.com>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/TortoisePlink/Windows/MSVC/Plink/TortoisePlink.vcxproj