Applied patch for Intel compiler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-03-31 15:43:19 +00:00
parent 587bc95090
commit 76a6e80383
2 changed files with 9 additions and 20 deletions

View File

@@ -2275,8 +2275,7 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName)
// the string is quoted and ends at the matching quote
pEnd = wxStrchr(++pc, wxT('"'));
if ( pEnd == NULL ) {
wxLogWarning(_("Mime.types file %s, line %d: unterminated "
"quoted string."),
wxLogWarning(_("Mime.types file %s, line %d: unterminated quoted string."),
strFileName.c_str(), nLine + 1);
}
}
@@ -2552,9 +2551,7 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName,
// something is wrong, bail out
cont = FALSE;
wxLogDebug(wxT("Mailcap file %s, line %lu: "
"'\\' on the end of the last line "
"ignored."),
wxLogDebug(wxT("Mailcap file %s, line %lu: '\\' on the end of the last line ignored."),
strFileName.c_str(),
(unsigned long)nLine + 1);
}
@@ -2618,9 +2615,7 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName,
// this might be useful for the programmer
wxLogDebug
(
wxT("Mailcap file %s, line %lu: "
"unknown field '%s' for the "
"MIME type '%s' ignored."),
wxT("Mailcap file %s, line %lu: unknown field '%s' for the MIME type '%s' ignored."),
strFileName.c_str(),
(unsigned long)nLine + 1,
curField.c_str(),
@@ -2659,8 +2654,7 @@ bool wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName,
// check that we really read something reasonable
if ( currentToken < Field_Other )
{
wxLogWarning(_("Mailcap file %s, line %d: incomplete entry "
"ignored."),
wxLogWarning(_("Mailcap file %s, line %d: incomplete entry ignored."),
strFileName.c_str(), nLine + 1);
continue;

View File

@@ -893,8 +893,7 @@ void wxThreadInternal::Wait()
// wxLogDebug: it is possible to bring the system to its knees
// by creating too many threads and not joining them quite
// easily
wxLogError(_("Failed to join a thread, potential memory leak "
"detected - please restart the program"));
wxLogError(_("Failed to join a thread, potential memory leak detected - please restart the program"));
}
m_shouldBeJoined = FALSE;
@@ -1456,8 +1455,7 @@ wxThreadError wxThread::Kill()
void wxThread::Exit(ExitCode status)
{
wxASSERT_MSG( This() == this,
_T("wxThread::Exit() can only be called in the "
"context of the same thread") );
_T("wxThread::Exit() can only be called in the context of the same thread") );
if ( m_isDetached )
{
@@ -1496,8 +1494,7 @@ void wxThread::Exit(ExitCode status)
bool wxThread::TestDestroy()
{
wxASSERT_MSG( This() == this,
_T("wxThread::TestDestroy() can only be called in the "
"context of the same thread") );
_T("wxThread::TestDestroy() can only be called in the context of the same thread") );
m_critsect.Enter();
@@ -1530,8 +1527,7 @@ wxThread::~wxThread()
if ( m_internal->GetState() != STATE_EXITED &&
m_internal->GetState() != STATE_NEW )
{
wxLogDebug(_T("The thread %ld is being destroyed although it is still "
"running! The application may crash."), GetId());
wxLogDebug(_T("The thread %ld is being destroyed although it is still running! The application may crash."), GetId());
}
m_critsect.Leave();
@@ -1597,8 +1593,7 @@ bool wxThreadModule::OnInit()
int rc = pthread_key_create(&gs_keySelf, NULL /* dtor function */);
if ( rc != 0 )
{
wxLogSysError(rc, _("Thread module initialization failed: "
"failed to create thread key"));
wxLogSysError(rc, _("Thread module initialization failed: failed to create thread key"));
return FALSE;
}