Show
Ignore:
Timestamp:
10/10/08 15:51:26 (3 months ago)
Author:
FM
Message:

fix two bugs: 1) the missing NOT in the if (real) test; 2) the missing +1 in getID() function; add many checks and log messages

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wxWidgets/trunk/utils/ifacecheck/src/ifacecheck.cpp

    r56188 r56224  
    302302        real = api->RecursiveUpwardFindMethod(m, &m_gccInterface); 
    303303 
    304         if (real) 
     304        if (!real) 
    305305        { 
    306306            bool exit = false; 
     
    344344                                                "'%s' all with different signatures:\n", 
    345345                                                overloads.GetCount(), m.GetName(), api->GetName()); 
    346                 else 
     346                else { 
    347347                    warning += wxString::Format(": in the real headers there is a method '%s' for '%s'" 
    348348                                                " but has different signature:\n", 
    349349                                                m.GetName(), api->GetName()); 
     350                } 
    350351 
    351352                // get a list of the prototypes with _all_ possible attributes: