More warning and error fixes (work in progress with Tinderbox).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-05-30 13:06:16 +00:00
parent e484a5f8c2
commit c69a7d10e5
5 changed files with 38 additions and 35 deletions

View File

@@ -479,7 +479,7 @@ string spPreprocessorLine::CPP_GetIncludedFileNeme() const
size_t i = 0;
while( i < mLine.length() && mLine[i] != '"' && mLine[i] != '<' )
while( i < m_Line.length() && m_Line[i] != '"' && m_Line[i] != '<' )
++i;
@@ -487,14 +487,14 @@ string spPreprocessorLine::CPP_GetIncludedFileNeme() const
size_t start = i;
while( i < mLine.length() && mLine[i] != '"' && mLine[i] != '>' )
while( i < m_Line.length() && m_Line[i] != '"' && m_Line[i] != '>' )
++i;
if ( start < mLine.length() )
if ( start < m_Line.length() )
{
string fname;
fname.append( mLine, start, ( i - start ) );
fname.append( m_Line, start, ( i - start ) );
return fname;
}
@@ -697,7 +697,7 @@ void spEnumeration::DumpThis(const wxString& indent) const
void spTypeDef::DumpThis(const wxString& indent) const
{
wxLogDebug("%stypedef %s = %s",
indent.c_str(), m_Name.c_str(), mOriginalType.c_str());
indent.c_str(), m_Name.c_str(), m_OriginalType.c_str());
}
void spFile::DumpThis(const wxString& indent) const