From 31a0c7cb7e6a61f4e3ddf2067426477a7b8a1de9 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Sat, 6 Dec 2014 11:13:44 +0100 Subject: [PATCH] added deprecation warning for POCO_WIN32_UTF8 --- Foundation/include/Poco/Platform_WIN32.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Foundation/include/Poco/Platform_WIN32.h b/Foundation/include/Poco/Platform_WIN32.h index cc35eff9b..03b87107a 100644 --- a/Foundation/include/Poco/Platform_WIN32.h +++ b/Foundation/include/Poco/Platform_WIN32.h @@ -172,6 +172,11 @@ #endif +#if !defined(POCO_WIN32_UTF8) + #warning Compiling POCO on Windows without #define POCO_WIN32_UTF8 is deprecated. +#endif + + // Turn off some annoying warnings #if defined(_MSC_VER) #pragma warning(disable:4018) // signed/unsigned comparison