BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,10 @@
|
|||||||
#pragma warning(disable:4786)
|
#pragma warning(disable:4786)
|
||||||
#endif // __VISUALC__
|
#endif // __VISUALC__
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma warn -8022
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/beforestd.h"
|
#include "wx/beforestd.h"
|
||||||
#include <cppunit/extensions/TestFactoryRegistry.h>
|
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||||||
#include <cppunit/ui/text/TestRunner.h>
|
#include <cppunit/ui/text/TestRunner.h>
|
||||||
@@ -30,6 +34,10 @@
|
|||||||
#include <cppunit/extensions/HelperMacros.h>
|
#include <cppunit/extensions/HelperMacros.h>
|
||||||
#include "wx/afterstd.h"
|
#include "wx/afterstd.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma warn .8022
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(default:4702)
|
#pragma warning(default:4702)
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
@@ -11,7 +11,16 @@
|
|||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/filesys.h"
|
#include "wx/filesys.h"
|
||||||
|
|
||||||
#include "wx/cppunit.h"
|
#include "wx/cppunit.h"
|
||||||
@@ -57,7 +66,7 @@ private:
|
|||||||
|
|
||||||
void UrlParsing();
|
void UrlParsing();
|
||||||
|
|
||||||
DECLARE_NO_COPY_CLASS(FileSystemTestCase);
|
DECLARE_NO_COPY_CLASS(FileSystemTestCase)
|
||||||
};
|
};
|
||||||
|
|
||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
@@ -70,8 +79,8 @@ void FileSystemTestCase::UrlParsing()
|
|||||||
{
|
{
|
||||||
static const struct Data
|
static const struct Data
|
||||||
{
|
{
|
||||||
const wchar_t *url;
|
const wxChar *url;
|
||||||
const wchar_t *protocol, *left, *right, *anchor;
|
const wxChar *protocol, *left, *right, *anchor;
|
||||||
} data[] =
|
} data[] =
|
||||||
{
|
{
|
||||||
// simple case:
|
// simple case:
|
||||||
|
@@ -11,7 +11,16 @@
|
|||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/strconv.h"
|
#include "wx/strconv.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
|
||||||
@@ -33,7 +42,7 @@ private:
|
|||||||
|
|
||||||
void WC2CP1250();
|
void WC2CP1250();
|
||||||
|
|
||||||
DECLARE_NO_COPY_CLASS(MBConvTestCase);
|
DECLARE_NO_COPY_CLASS(MBConvTestCase)
|
||||||
};
|
};
|
||||||
|
|
||||||
// register in the unnamed registry so that these tests are run by default
|
// register in the unnamed registry so that these tests are run by default
|
||||||
|
Reference in New Issue
Block a user