From: <bl...@us...> - 2003-05-01 21:20:36
|
Update of /cvsroot/cpptool/rfta/bug In directory sc8-pr-cvs1:/tmp/cvs-serv26988/bug Added Files: List.txt Log Message: * added, quick list of bugs found with the first test run of lister.py on reall code. --- NEW FILE: List.txt --- ---- KeyedString.h: inline std::vector<int> KeyedString::getKeyedLen(std::string key) const { std::map<std::string,std::vector<int> >::const_iterator it; it = wordLen_.find(key); if (it == wordLen_.end()) return std::vector<int>(); return (*it).second; } variable-decl-expression node has a bad range (extend beyond the node range) ---- ASTDumper.cpp: ASTDumpVisitor::ASTDumpVisitor( HTMLWriter &writer, const SourceASTNodePtr &source ) : writer_( writer ) , sourceAST_( source ) { } => header include members initializer. --- unamed enum: (audacity\freqwindow.cpp.html) enum { FirstID = 7000, FreqCloseButtonID, FreqExportButtonID, FreqAlgChoiceID, FreqSizeChoiceID, FreqFuncChoiceID, FreqAxisChoiceID }; ==> parse failure --- case constant containing '::' (dc++\hubframe.cpp.html) case ClientListener::FAILED: => parse failure --- MFC macros (dc++\hubframe.h.html) BEGIN_MSG_MAP(HubFrame) MESSAGE_HANDLER(WM_CLOSE, onClose) MESSAGE_HANDLER(WM_MDIACTIVATE, onActivate) MESSAGE_HANDLER(WM_NCACTIVATE, onActivate) --- destructor (dc++\mainfrm.h.html) virtual ~MainFrame(); ~CWebServer(void); => parse failure --- bad variable declaration (emule\archiverecovery.cpp.html) CTypedPtrList<CPtrList, Gap_Struct*> *filled = new CTypedPtrList<CPtrList, Gap_Struct*>; => parse failure (think there is 2 variables) --- wrong variable declaration k<dd->getVideoModeList()->count(); for( unsigned k = 0; k<dd->getVideoModeList()->count(); k++ ) => parse failure * '->' should not be allowed as an end of template * should not attempt to parse for a variable declaration in for condition expression. |