From: Julian Smart Date: Tue, 28 Dec 1999 15:21:06 +0000 (+0000) Subject: Some BC++ issues X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84e5f5395d1a2834b28b797689c9d88b2ff4d134?ds=inline Some BC++ issues git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index a35c8a7bed..0c392aa5ab 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -2295,7 +2295,11 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date) // the spec was correct Set(day, mon, year, hour, min, sec); +#ifndef __BORLANDC__ // The following line doesn't compile with BC++ MakeTimezone(60*(wxDateTime_t)offset); +#else + wxMessageBox("ParseRfc822Date doesn't with BC++ yet, sorry."); +#endif return p; } diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index 0792e84902..c25ce2ea4e 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -26,7 +26,6 @@ #endif #if wxUSE_LONGLONG - #include "wx/longlong.h" #include // for memset() diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 51168e0026..5b5fec3a93 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -55,7 +55,7 @@ TAG_HANDLER_BEGIN(FONT, "FONT") if (tag.HasParam(wxT("SIZE"))) { long tmp = 0; - wxChar c = tag.GetParam(wxT("SIZE"))[0]; + wxChar c = tag.GetParam(wxT("SIZE"))[(unsigned int) 0]; if (tag.ScanParam(wxT("SIZE"), wxT("%li"), &tmp) == 1) { if (c == '+' || c == '-') m_WParser -> SetFontSize(oldsize+tmp);