]> git.saurik.com Git - wxWidgets.git/commitdiff
warn if wxVsnprintf() is not being used
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:27:29 +0000 (02:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:27:29 +0000 (02:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/test.cpp

index b26e73317f0e682dd3cf0ae5d457f2aa50581537..38c9175f9bd5903d6704d7bcc2359a09b0cb007d 100644 (file)
@@ -70,6 +70,14 @@ bool TestApp::OnInit()
 {
     cout << "Test program for wxWidgets\n"
          << "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
+
+#if !wxUSE_WXVSNPRINTF
+    cout << "\n";
+    cout << "WARNING: VsnprintfTestCase will test the system vsnprintf() function\n";
+    cout << "         instead of the wxWidgets wxVsnprintf_ implementation!" << std::endl;
+    cout << "\n";
+#endif
+
     return wxAppConsole::OnInit();
 };