mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
fix warning, add note to Config.h regarding deprecation of POCO_WIN32_UTF8
This commit is contained in:
parent
31a0c7cb7e
commit
ff3f260a10
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
|
|
||||||
// Define to enable Windows Unicode (UTF-8) support
|
// Define to enable Windows Unicode (UTF-8) support
|
||||||
|
// NOTE: As of POCO C++ Libraries release 1.6.0, compiling POCO
|
||||||
|
// without POCO_WIN32_UTF8 defined on Windows is deprecated.
|
||||||
#define POCO_WIN32_UTF8
|
#define POCO_WIN32_UTF8
|
||||||
|
|
||||||
|
|
||||||
|
@ -163,6 +163,9 @@
|
|||||||
#elif (_MSC_VER >= 1700) && (_MSC_VER < 1800) // Visual Studio 2012, MSVC++ 11.0
|
#elif (_MSC_VER >= 1700) && (_MSC_VER < 1800) // Visual Studio 2012, MSVC++ 11.0
|
||||||
#define POCO_MSVS_VERSION 2012
|
#define POCO_MSVS_VERSION 2012
|
||||||
#define POCO_MSVC_VERSION 110
|
#define POCO_MSVC_VERSION 110
|
||||||
|
#elif (_MSC_VER >= 1800) && (_MSC_VER < 1900) // Visual Studio 2013, MSVC++ 12.0
|
||||||
|
#define POCO_MSVS_VERSION 2013
|
||||||
|
#define POCO_MSVC_VERSION 120
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -173,7 +176,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(POCO_WIN32_UTF8)
|
#if !defined(POCO_WIN32_UTF8)
|
||||||
#warning Compiling POCO on Windows without #define POCO_WIN32_UTF8 is deprecated.
|
#pragma message("Compiling POCO on Windows without #define POCO_WIN32_UTF8 is deprecated.")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user