[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/javasupport
From:       Amilcar do Carmo Lucas <amilcar () ida ! ing ! tu-bs ! de>
Date:       2003-05-02 13:24:07
[Download RAW message or body]

CVS commit by aclu: 

Compile fix


  M +1 -1      backgroundparser.cpp   1.6
  M +2 -2      javasupportpart.cpp   1.20


--- kdevelop/parts/javasupport/backgroundparser.cpp  #1.5:1.6
@@ -59,5 +59,5 @@ void BackgroundParser::run()
     } catch( antlr::ANTLRException& ex ){
         kdDebug() << "*exception*: " << ex.toString().c_str() << endl;
-        m_reporter->reportError( ex.getMessage(),
+        m_reporter->reportError( ex.getMessage().c_str(),
                                  m_fileName,
                                  lexer.getLine(),

--- kdevelop/parts/javasupport/javasupportpart.cpp  #1.19:1.20
@@ -224,5 +224,5 @@ void JavaSupportPart::parse(const QStrin
     } catch( antlr::ANTLRException& ex ){
         kdDebug() << "*exception*: " << ex.toString().c_str() << endl;
-        d->problemReporter->reportError( ex.getMessage(),
+        d->problemReporter->reportError( ex.getMessage().c_str(),
                                          fileName,
                                          lexer.getLine(),
@@ -259,5 +259,5 @@ void JavaSupportPart::parseContents( con
     } catch( antlr::ANTLRException& ex ){
         kdDebug() << "*exception*: " << ex.toString().c_str() << endl;
-        d->problemReporter->reportError( ex.getMessage(),
+        d->problemReporter->reportError( ex.getMessage().c_str(),
                                          fileName,
                                          lexer.getLine(),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic