Changeset 56224
- Timestamp:
- 10/10/08 15:51:26 (6 weeks ago)
- Location:
- wxWidgets/trunk/utils/ifacecheck/src
- Files:
-
- 2 modified
-
ifacecheck.cpp (modified) (2 diffs)
-
xmlparser.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wxWidgets/trunk/utils/ifacecheck/src/ifacecheck.cpp
r56188 r56224 302 302 real = api->RecursiveUpwardFindMethod(m, &m_gccInterface); 303 303 304 if ( real)304 if (!real) 305 305 { 306 306 bool exit = false; … … 344 344 "'%s' all with different signatures:\n", 345 345 overloads.GetCount(), m.GetName(), api->GetName()); 346 else 346 else { 347 347 warning += wxString::Format(": in the real headers there is a method '%s' for '%s'" 348 348 " but has different signature:\n", 349 349 m.GetName(), api->GetName()); 350 } 350 351 351 352 // get a list of the prototypes with _all_ possible attributes: -
wxWidgets/trunk/utils/ifacecheck/src/xmlparser.cpp
r56223 r56224 1 /////////////////////////////////////////////////////////////////////////////1 ///////////////////////////////////////////////////////////////////////////// 2 2 // Name: xmlparser.cpp 3 3 // Purpose: Parser of the API/interface XML files … … 122 122 123 123 if (g_verbose) 124 { 124 125 LogMessage("Type '%s' does not match type '%s'", m_strType, m.m_strType); 126 LogMessage(" => TypeClean %s / %s; IsConst %d / %d; IsStatic %d / %d; IsPointer %d / %d; IsReference %d / %d", 127 m_strTypeClean, m.m_strTypeClean, IsConst(), m.IsConst(), 128 IsStatic(), m.IsStatic(), IsPointer(), m.IsPointer(), 129 IsReference(), m.IsReference()); 130 } 125 131 126 132 return false; … … 294 300 if (GetReturnType() != m.GetReturnType() || 295 301 GetName() != m.GetName()) 296 return false; 302 { 303 if (g_verbose) 304 LogMessage("The method '%s' does not match method '%s'; different names/rettype", GetName(), m.GetName()); 305 return false; 306 } 297 307 298 308 if (m_args.GetCount()!=m.m_args.GetCount()) { … … 320 330 IsDeprecated() != m.IsDeprecated() || 321 331 GetAccessSpecifier() != m.GetAccessSpecifier()) 322 return false; 332 { 333 if (g_verbose) 334 LogMessage("The method '%s' does not match method '%s'; different attributes", GetName(), m.GetName()); 335 336 return false; 337 } 323 338 324 339 // check everything else … … 470 485 m_strName, m_methods[i].GetAsString()); 471 486 return false; 472 ((wxClass*)this)->m_methods.RemoveAt(j); 473 j--; 487 488 // fix the problem? 489 //((wxClass*)this)->m_methods.RemoveAt(j); 490 //j--; 474 491 } 475 492 … … 662 679 bool getID(unsigned long *id, const wxString& str) 663 680 { 664 const wxStringCharType * const start = str.wx_str() ;681 const wxStringCharType * const start = str.wx_str()+1; 665 682 wxStringCharType *end; 666 683 #if wxUSE_UNICODE_WCHAR
