1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)

2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-30 17:51:26 +00:00
parent ce6d2511f8
commit 13111b2ac8
36 changed files with 703 additions and 630 deletions

View File

@@ -1147,9 +1147,6 @@ wxDateTime& wxDateTime::ResetTime()
wxDateTime::Tm wxDateTime::GetTm(const TimeZone& tz) const
{
#ifdef __VMS__
int time2;
#endif
wxASSERT_MSG( IsValid(), _T("invalid wxDateTime") );
time_t time = GetTicks();
@@ -1167,9 +1164,9 @@ wxDateTime::Tm wxDateTime::GetTm(const TimeZone& tz) const
}
else
{
time += tz.GetOffset();
time += (time_t)tz.GetOffset();
#ifdef __VMS__ // time is unsigned so avoid warning
time2 = (int) time;
int time2 = (int) time;
if ( time2 >= 0 )
#else
if ( time >= 0 )
@@ -1679,9 +1676,6 @@ wxDateTime& wxDateTime::MakeTimezone(const TimeZone& tz, bool noDST)
wxString wxDateTime::Format(const wxChar *format, const TimeZone& tz) const
{
#ifdef __VMS__
int time2;
#endif
wxCHECK_MSG( format, _T(""), _T("NULL format in wxDateTime::Format") );
time_t time = GetTicks();
@@ -1701,8 +1695,8 @@ wxString wxDateTime::Format(const wxChar *format, const TimeZone& tz) const
{
time += tz.GetOffset();
#ifdef __VMS__ /* time is unsigned so VMS gives a warning on the original */
time2 = (int) time;
#ifdef __VMS__ // time is unsigned so avoid the warning
int time2 = (int) time;
if ( time2 >= 0 )
#else
if ( time >= 0 )