Revision: 7773 https://osdn.net/projects/ttssh2/scm/svn/commits/7773 Author: maya Date: 2019-06-16 12:24:59 +0900 (Sun, 16 Jun 2019) Log Message: ----------- warning C4005 が出るので修正 少なくとも Visual Studio 2013 には _Printf_format_string_ がある 根拠なくバージョンを指定しないでほしい Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.h -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.h =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.h 2019-06-15 06:55:17 UTC (rev 7772) +++ trunk/ttssh2/ttxssh/ttxssh.h 2019-06-16 03:24:59 UTC (rev 7773) @@ -90,8 +90,8 @@ #include "tttypes.h" #include "ttplugin.h" -#if defined(_MSC_VER) && _MSC_VER < 1910 -// 2017\x96\xA2\x96\x9E\x82̂Ƃ\xAB\x82͖\xB3\x8C\xF8\x82Ƃ\xB7\x82\xE9 +#if defined(_MSC_VER) && !defined(_Printf_format_string_) +// \x92\xE8\x8B`\x82\xB3\x82\xEA\x82Ă\xA2\x82Ȃ\xA2\x82Ƃ\xAB\x82͉\xBD\x82\xE0\x82\xB5\x82Ȃ\xA2\x82悤\x82ɒ\xE8\x8B`\x82\xB5\x82Ă\xA8\x82\xAD #define _Printf_format_string_ #endif