From 9f7a07ab9f0974ba23c9f440fdc52cdccad0f91f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Feb 2007 02:27:29 +0000 Subject: [PATCH] warn if wxVsnprintf() is not being used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test.cpp b/tests/test.cpp index b26e73317f..38c9175f9b 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -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(); };