Remove (Open)Watcom support.
This compiler is not being developed since several years and almost certainly can't be used to build the current wxWidgets sources anyhow, so remove all support for it, including a lot of extremely ugly workarounds for its bugs with template functions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2179,17 +2179,6 @@ public:
|
||||
// int Printf(const wxString& format, ...);
|
||||
WX_DEFINE_VARARG_FUNC(int, Printf, 1, (const wxFormatString&),
|
||||
DoPrintfWchar, DoPrintfUtf8)
|
||||
#ifdef __WATCOMC__
|
||||
// workaround for http://bugzilla.openwatcom.org/show_bug.cgi?id=351
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, Printf, 1, (const wxString&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, Printf, 1, (const wxCStrData&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, Printf, 1, (const char*),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, Printf, 1, (const wchar_t*),
|
||||
(wxFormatString(f1)));
|
||||
#endif
|
||||
// as vprintf(), returns the number of characters written or < 0 on error
|
||||
int PrintfV(const wxString& format, va_list argptr);
|
||||
|
||||
@@ -2197,17 +2186,6 @@ public:
|
||||
// static wxString Format(const wxString& format, ...) WX_ATTRIBUTE_PRINTF_1;
|
||||
WX_DEFINE_VARARG_FUNC(static wxString, Format, 1, (const wxFormatString&),
|
||||
DoFormatWchar, DoFormatUtf8)
|
||||
#ifdef __WATCOMC__
|
||||
// workaround for http://bugzilla.openwatcom.org/show_bug.cgi?id=351
|
||||
WX_VARARG_WATCOM_WORKAROUND(static wxString, Format, 1, (const wxString&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(static wxString, Format, 1, (const wxCStrData&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(static wxString, Format, 1, (const char*),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(static wxString, Format, 1, (const wchar_t*),
|
||||
(wxFormatString(f1)));
|
||||
#endif
|
||||
// the same as above, but takes a va_list
|
||||
static wxString FormatV(const wxString& format, va_list argptr);
|
||||
|
||||
@@ -2244,17 +2222,6 @@ public:
|
||||
// int sprintf(const wxString& format, ...) WX_ATTRIBUTE_PRINTF_2;
|
||||
WX_DEFINE_VARARG_FUNC(int, sprintf, 1, (const wxFormatString&),
|
||||
DoPrintfWchar, DoPrintfUtf8)
|
||||
#ifdef __WATCOMC__
|
||||
// workaround for http://bugzilla.openwatcom.org/show_bug.cgi?id=351
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, sprintf, 1, (const wxString&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, sprintf, 1, (const wxCStrData&),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, sprintf, 1, (const char*),
|
||||
(wxFormatString(f1)));
|
||||
WX_VARARG_WATCOM_WORKAROUND(int, sprintf, 1, (const wchar_t*),
|
||||
(wxFormatString(f1)));
|
||||
#endif
|
||||
|
||||
// use Cmp()
|
||||
int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
|
||||
|
Reference in New Issue
Block a user