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

List:       kde-bugs-dist
Subject:    [Bug 137802] Jump to error (from the ouput "Messages" window) can
From:       Dario Vecchio <dariovecchio () tiscali ! it>
Date:       2006-11-26 18:39:30
Message-ID: 20061126183930.24999.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=137802         




------- Additional Comments From dariovecchio tiscali it  2006-11-26 19:39 -------
Here are some more informations:

The project structure:

MyProject
   |
   +-- src (main.cpp, myproject.cpp. myproject.h)
   +-- theStaticLib (main.cpp, ....)
   +-- theSharedLib (....)

============== main.cpp =================
#include <QApplication>
#include "myproject.h"

int main(int argc, char *argv[])
{
      Q_INIT_RESOURCE(application);
      QApplication app(argc, argv);
      MyProject * mw = new MyProject();
      mw->show();
      retuurn app.exec(); // ERROR
}

=== Messages Window (Full compiler output + Show Directory Navigation Messages) \
================ cd '/root/myproject/src' && gmake -j1 
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED \
-I/usr/local/Trolltech/Qt-4.1.3/mkspecs/linux-g++ -I. \
-I/usr/local/Trolltech/Qt-4.1.3/include/QtCore \
-I/usr/local/Trolltech/Qt-4.1.3/include/QtGui -I/usr/local/Trolltech/Qt-4.1.3/include \
                -I../theStaticLib -I../theSharedLib -Imoc -Iuic -o obj/main.o \
                main.cpp
main.cpp: In function ‘int main(int, char**)':
main.cpp:31: error: ‘retuurn' was not declared in this scope
main.cpp:31: error: expected `;' before ‘app'
gmake: *** [obj/main.o] Error 1
*** Exited with status: 2 ***


=============== Steps to reproduce the bug =====================
- Select src project in qmake manager and build it
- Click on the error -> jump to src/main.cpp at line 31 (OK)
- Select theStaticLib project in qmake manager
- Click again on the error -> jump to theStaticLib/main.cpp at line 31 (ERROR)


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

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