# HG changeset patch # User Sebastien Jodogne # Date 1628661646 -7200 # Node ID fad7c6156923783808e142540b08a404638e8a69 # Parent 2592c0e9b724801836e28b7dd82af395b0994bc0 fix pragma warning for msvc diff -r 2592c0e9b724 -r fad7c6156923 Odbc/Plugins/IndexPlugin.cpp --- a/Odbc/Plugins/IndexPlugin.cpp Wed Aug 11 07:45:54 2021 +0200 +++ b/Odbc/Plugins/IndexPlugin.cpp Wed Aug 11 08:00:46 2021 +0200 @@ -29,7 +29,11 @@ #if defined(_WIN32) -# warning Strings have not been tested on Windows (UTF-16 issues ahead)! +# ifdef _MSC_VER +# pragma message("Warning: Strings have not been tested on Windows (UTF-16 issues ahead)!") +# else +# warning Strings have not been tested on Windows (UTF-16 issues ahead)! +# endif # include #else # include diff -r 2592c0e9b724 -r fad7c6156923 Odbc/UnitTests/UnitTestsMain.cpp --- a/Odbc/UnitTests/UnitTestsMain.cpp Wed Aug 11 07:45:54 2021 +0200 +++ b/Odbc/UnitTests/UnitTestsMain.cpp Wed Aug 11 08:00:46 2021 +0200 @@ -30,7 +30,6 @@ #if defined(_WIN32) -# warning Strings have not been tested on Windows (UTF16 issues ahead)! # include #else # include